From a823812ab4a7bdeb4c04c38c90a447fc0507ba84 Mon Sep 17 00:00:00 2001 From: Addy Osmani Date: Thu, 6 Nov 2014 14:03:11 +0000 Subject: [PATCH] Tiny typo corrections --- src/CustomElements/CustomElements.js | 12 ++++++------ src/HTMLImports/HTMLImports.js | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/CustomElements/CustomElements.js b/src/CustomElements/CustomElements.js index 04ce503f2..d71629dbb 100644 --- a/src/CustomElements/CustomElements.js +++ b/src/CustomElements/CustomElements.js @@ -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(''); }); -// exports +// exports CustomElements.flags = flags; -})(); \ No newline at end of file +})(); diff --git a/src/HTMLImports/HTMLImports.js b/src/HTMLImports/HTMLImports.js index 9bce000b4..317cae448 100644 --- a/src/HTMLImports/HTMLImports.js +++ b/src/HTMLImports/HTMLImports.js @@ -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(''); }); -// exports +// exports HTMLImports.flags = flags; -})(); \ No newline at end of file +})();