Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #35 from addyosmani/typos
Browse files Browse the repository at this point in the history
Tiny typo corrections
  • Loading branch information
addyosmani committed Nov 12, 2014
2 parents 606609a + a823812 commit 4b8ebce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/CustomElements/CustomElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function() {
// Estblish polyfill scope. We do this here to store flags. Flags are not

// Establish polyfill scope. We do this here to store flags. Flags are not
// supported in the build.
window.CustomElements = window.CustomElements || {flags:{}};
window.CustomElements = window.CustomElements || {flags:{}};

// Flags. Convert url arguments to flags
var flags = {};
Expand All @@ -36,15 +36,15 @@ var modules = [
'boot.js'
];

var src =
var src =
document.querySelector('script[src*="' + file + '"]').getAttribute('src');
var basePath = src.slice(0, src.indexOf(file));

modules.forEach(function(f) {
document.write('<script src="' + basePath + f + '"></script>');
});

// exports
// exports
CustomElements.flags = flags;

})();
})();
10 changes: 5 additions & 5 deletions src/HTMLImports/HTMLImports.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*/
(function() {

// Estblish polyfill scope. We do this here to store flags. Flags are not
// Establish polyfill scope. We do this here to store flags. Flags are not
// supported in the build.
window.HTMLImports = window.HTMLImports || {flags:{}};
window.HTMLImports = window.HTMLImports || {flags:{}};

// Flags. Convert url arguments to flags
var flags = {};
Expand Down Expand Up @@ -39,15 +39,15 @@ var modules = [
'boot.js'
];

var src =
var src =
document.querySelector('script[src*="' + file + '"]').getAttribute('src');
var basePath = src.slice(0, src.indexOf(file));

modules.forEach(function(f) {
document.write('<script src="' + basePath + f + '"></script>');
});

// exports
// exports
HTMLImports.flags = flags;

})();
})();

0 comments on commit 4b8ebce

Please sign in to comment.