mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix some lint stuff.
This commit is contained in:
parent
3cf9e020b4
commit
0d1a0ec16a
@ -13,8 +13,11 @@
|
|||||||
],
|
],
|
||||||
"globals": {
|
"globals": {
|
||||||
"CustomElements": true,
|
"CustomElements": true,
|
||||||
|
"customElements": true,
|
||||||
"HTMLImports": true,
|
"HTMLImports": true,
|
||||||
"Polymer": true,
|
"Polymer": true,
|
||||||
"ShadyDom": true
|
"ShadyDOM": true,
|
||||||
|
"ShadyCSS": true,
|
||||||
|
"ApplyShim": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -272,7 +272,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// enforce gesture recognizer order
|
// enforce gesture recognizer order
|
||||||
for (i = 0, r; i < recognizers.length; i++) {
|
for (let i = 0, r; i < recognizers.length; i++) {
|
||||||
r = recognizers[i];
|
r = recognizers[i];
|
||||||
if (gs[r.name] && !handled[r.name]) {
|
if (gs[r.name] && !handled[r.name]) {
|
||||||
handled[r.name] = true;
|
handled[r.name] = true;
|
||||||
|
@ -18,11 +18,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
class nullClass {};
|
class nullClass {}
|
||||||
|
|
||||||
function PatchedHTMLTemplateElement() {
|
function PatchedHTMLTemplateElement() {
|
||||||
return PatchedHTMLTemplateElement._newInstance;
|
return PatchedHTMLTemplateElement._newInstance;
|
||||||
};
|
}
|
||||||
PatchedHTMLTemplateElement.prototype = Object.create(HTMLTemplateElement.prototype, {
|
PatchedHTMLTemplateElement.prototype = Object.create(HTMLTemplateElement.prototype, {
|
||||||
constructor: {
|
constructor: {
|
||||||
value: PatchedHTMLTemplateElement
|
value: PatchedHTMLTemplateElement
|
||||||
|
@ -849,7 +849,7 @@ suite('warnings', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('binding to a bad attribute warns', function() {
|
test('binding to a bad attribute warns', function() {
|
||||||
var el = document.createElement('x-bind-bad-attribute-name');
|
document.createElement('x-bind-bad-attribute-name');
|
||||||
assert.isTrue(console.warn.calledOnce, 'no warning for setting a bad attribute');
|
assert.isTrue(console.warn.calledOnce, 'no warning for setting a bad attribute');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -857,7 +857,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
var s1 = document.createElement('span');
|
var s1 = document.createElement('span');
|
||||||
var s2 = document.createElement('span');
|
var s2 = document.createElement('span');
|
||||||
var s3 = document.createElement('span');
|
var s3 = document.createElement('span');
|
||||||
var composedChildren;
|
|
||||||
frag.appendChild(s1);
|
frag.appendChild(s1);
|
||||||
frag.appendChild(s2);
|
frag.appendChild(s2);
|
||||||
frag.appendChild(s3);
|
frag.appendChild(s3);
|
||||||
@ -881,7 +880,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
var s1 = document.createElement('span');
|
var s1 = document.createElement('span');
|
||||||
var s2 = document.createElement('span');
|
var s2 = document.createElement('span');
|
||||||
var s3 = document.createElement('span');
|
var s3 = document.createElement('span');
|
||||||
var composedChildren;
|
|
||||||
frag.appendChild(s1);
|
frag.appendChild(s1);
|
||||||
frag.appendChild(s2);
|
frag.appendChild(s2);
|
||||||
frag.appendChild(s3);
|
frag.appendChild(s3);
|
||||||
|
Loading…
Reference in New Issue
Block a user