diff --git a/src/elements/legacy-element.html b/src/elements/legacy-element.html index 08c09c18..9baae6e4 100644 --- a/src/elements/legacy-element.html +++ b/src/elements/legacy-element.html @@ -470,7 +470,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN return this.root === node.getRootNode(); } - scopeSubtree(container, shouldObserve) { + scopeSubtree(container, shouldObserve) { // eslint-disable-line no-unused-vars // TODO(sorvell): replace or remove when ShadyDOM library handles this. // if (!window.ShadyDOM && !window.ShadyDOM.inUse) { // return; @@ -788,7 +788,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN var arr = Polymer.Path.get(this, arrayOrPath); index = arr.indexOf(item); if (index >= 0) { - return this.splice(path, index, 1); + return this.splice(arrayOrPath, index, 1); } } } diff --git a/src/properties/property-accessors.html b/src/properties/property-accessors.html index 57cba4c7..6ddac9f1 100644 --- a/src/properties/property-accessors.html +++ b/src/properties/property-accessors.html @@ -97,7 +97,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN this._propertiesChanged(this.__data, changedProps, oldProps); } - _propertiesChanged(inst, currentProps, changedProps, oldProps) { + _propertiesChanged(inst, currentProps, changedProps, oldProps) { // eslint-disable-line no-unused-vars } _shouldPropChange(value, old) { diff --git a/src/styling/custom-style.html b/src/styling/custom-style.html index 01e79005..425d15ab 100644 --- a/src/styling/custom-style.html +++ b/src/styling/custom-style.html @@ -17,7 +17,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN // can be made that loads custom-style and then polymer. if (window.CustomStyle) { var attr = 'include'; - CustomStyle.processHook = function(style) { + window.CustomStyle.processHook = function(style) { var include = style.getAttribute(attr); if (!include) { return; diff --git a/test/.eslintrc.json b/test/.eslintrc.json index b210fb8f..f6ee2a64 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.json @@ -5,6 +5,7 @@ "globals": { "assert": true, "sinon": true, - "WCT": true + "WCT": true, + "fixture": true } } diff --git a/test/unit/inheritance.html b/test/unit/inheritance.html index 400094c9..e0f6a433 100644 --- a/test/unit/inheritance.html +++ b/test/unit/inheritance.html @@ -49,7 +49,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN