Skip to content

Commit d7a2baa

Browse files
author
Steven Orvell
committed
fix lint errors.
1 parent 31c785d commit d7a2baa

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎src/standard/styling.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
// only if no custom properties are used since otherwise
6464
// styles are applied via property shimming.
6565
if (!this._needsStyleProperties() && this._styles.length) {
66-
var style = styleUtil.applyCss(cssText, this.is,
66+
styleUtil.applyCss(cssText, this.is,
6767
nativeShadow ? this._template.content : null, this._scopeStyle);
6868
}
6969
} else {

‎test/unit/base.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
</head>
2424
<body>
2525
<script>
26+
(function() {
2627

2728
var Child;
2829
var instance;
2930

3031
setup(function() {
3132
// Ensure a clean environment for each test.
32-
/* global Base */
33-
window.Child = Object.create(Polymer.Base);
33+
Child = Object.create(Polymer.Base);
3434
Child.is = 'x-child';
3535
Child._registerFeatures = function() {};
3636
Child._initFeatures = function() {};
@@ -41,7 +41,7 @@
4141
this[name].apply(this, args || []);
4242
}
4343
};
44-
window.instance = Object.create(Child);
44+
instance = Object.create(Child);
4545
});
4646

4747
suite('addFeature', function() {
@@ -139,6 +139,7 @@
139139

140140
});
141141

142+
})();
142143
</script>
143144
</body>
144145
</html>

0 commit comments

Comments
 (0)