mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
fix lint errors
This commit is contained in:
parent
f2c1d4a5eb
commit
7da9a38fcd
@ -603,7 +603,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
suite('scoped-styling-var', function() {
|
||||
|
||||
function assertComputed(element, value, pseudo, name) {
|
||||
var name = name || 'border-top-width';
|
||||
name = name || 'border-top-width';
|
||||
var computed = element.getComputedStyleValue && !pseudo ?
|
||||
element.getComputedStyleValue(name) :
|
||||
getComputedStyle(element, pseudo)[name];
|
||||
|
@ -203,7 +203,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
return reg.is;
|
||||
});
|
||||
function regIndex(styleScope) {
|
||||
for (var i=0; (r=regList[i]); i++) {
|
||||
for (var i=0, r; (r=regList[i]); i++) {
|
||||
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
|
||||
return i;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
return reg.is;
|
||||
});
|
||||
function regIndex(styleScope) {
|
||||
for (var i=0; (r=regList[i]); i++) {
|
||||
for (var i=0, r; (r=regList[i]); i++) {
|
||||
if (styleScope.match(new RegExp(r + '\\-?\\d*$'))) {
|
||||
return i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user