diff --git a/src/lib/css-parse.html b/src/lib/css-parse.html index 2199fdb778..937a60d029 100644 --- a/src/lib/css-parse.html +++ b/src/lib/css-parse.html @@ -31,7 +31,7 @@ _lex: function(text) { var root = {start: 0, end: text.length}; var n = root; - for (var i=0, s=0, l=text.length; i < l; i++) { + for (var i=0, l=text.length; i < l; i++) { switch (text[i]) { case this.OPEN_BRACE: //console.group(i); @@ -174,10 +174,10 @@ customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim, mixinProp: /(?:^|[\s;])?--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim, mixinApply: /@apply[\s]*\([^)]*?\)[\s]*(?:[;\n]|$)?/gim, - varApply: /[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim, + varApply: /[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim, keyframesRule: /^@[^\s]*keyframes/, multipleSpaces: /\s+/g - }, + }, VAR_START: '--', MEDIA_START: '@media', diff --git a/src/lib/dom-api.html b/src/lib/dom-api.html index d85d9ad259..98da3b9f4b 100644 --- a/src/lib/dom-api.html +++ b/src/lib/dom-api.html @@ -767,7 +767,7 @@ var forwardMethod = function(method) { DomApi.prototype[method] = function() { return this.node[method].apply(this.node, arguments); - } + }; }; forwardMethods(['cloneNode', 'appendChild', 'insertBefore', @@ -791,7 +791,7 @@ var doc = this.node instanceof Document ? this.node : this.node.ownerDocument; return doc.importNode(externalNode, deep); - } + }; DomApi.prototype.getDestinationInsertionPoints = function() { var n$ = this.node.getDestinationInsertionPoints && @@ -875,11 +875,11 @@ node.__domApi = new DomApi(node, patch); } return node.__domApi; - }; + } function hasDomApi(node) { return Boolean(node.__domApi); - }; + } Polymer.dom = function(obj, patch) { if (obj instanceof Event) { @@ -1009,4 +1009,4 @@ })(); - \ No newline at end of file + diff --git a/src/lib/dom-innerHTML.html b/src/lib/dom-innerHTML.html index 466bbba610..5586ec9d77 100644 --- a/src/lib/dom-innerHTML.html +++ b/src/lib/dom-innerHTML.html @@ -29,7 +29,7 @@ case '>': return '>'; case '"': - return '"' + return '"'; case '\u00A0': return ' '; } diff --git a/src/lib/dom-module.html b/src/lib/dom-module.html index 4420bca61f..f1f9355a43 100644 --- a/src/lib/dom-module.html +++ b/src/lib/dom-module.html @@ -6,7 +6,7 @@ var lcModules = {}; var findModule = function(id) { return modules[id] || lcModules[id.toLowerCase()]; - } + }; /** * The `dom-module` element registers the dom it contains to the name given diff --git a/src/lib/experimental/sinspect.html b/src/lib/experimental/sinspect.html index 009653a264..0e0b33c9f9 100644 --- a/src/lib/experimental/sinspect.html +++ b/src/lib/experimental/sinspect.html @@ -193,7 +193,7 @@ // remote api - shadowize = function() { + var shadowize = function() { var idx = Number(this.attributes.idx.value); //alert(idx); var node = drillable[idx]; diff --git a/src/lib/style-cache.html b/src/lib/style-cache.html index 02dabc8343..8b2f1ff67e 100644 --- a/src/lib/style-cache.html +++ b/src/lib/style-cache.html @@ -12,7 +12,7 @@ Polymer.StyleCache = function() { this.cache = {}; - } + }; Polymer.StyleCache.prototype = { diff --git a/src/lib/style-transformer.html b/src/lib/style-transformer.html index 27afb0fdb3..a3bed9fcdf 100644 --- a/src/lib/style-transformer.html +++ b/src/lib/style-transformer.html @@ -97,7 +97,7 @@ elementStyles: function(element, callback) { var styles = element._styles; var cssText = ''; - for (var i=0, l=styles.length, s, text; (i