Merge pull request #35 from addyosmani/typos

Tiny typo corrections
This commit is contained in:
Addy Osmani
2014-11-12 18:15:04 +00:00
2 changed files with 11 additions and 11 deletions

View File

@@ -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 = {};
@@ -36,7 +36,7 @@ var modules = [
'boot.js'
];
var src =
var src =
document.querySelector('script[src*="' + file + '"]').getAttribute('src');
var basePath = src.slice(0, src.indexOf(file));
@@ -44,7 +44,7 @@ modules.forEach(function(f) {
document.write('<script src="' + basePath + f + '"></script>');
});
// exports
// exports
CustomElements.flags = flags;
})();
})();

View File

@@ -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 = {};
@@ -39,7 +39,7 @@ var modules = [
'boot.js'
];
var src =
var src =
document.querySelector('script[src*="' + file + '"]').getAttribute('src');
var basePath = src.slice(0, src.indexOf(file));
@@ -47,7 +47,7 @@ modules.forEach(function(f) {
document.write('<script src="' + basePath + f + '"></script>');
});
// exports
// exports
HTMLImports.flags = flags;
})();
})();