Skip to content

Commit 85102ca

Browse files
committed
jshint
1 parent 405b5ba commit 85102ca

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

tests/unit/CustomElement.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ define([
6464
});
6565
container.innerHTML +=
6666
"<test-ce-declarative id='d' boolProp='boolProp' numProp='5' stringProp='hello' " +
67-
"funcProp='global=123;' funcProp2='globalInstance.func' objProp1='foo:1,bar:2' objProp2='globalObj'/>";
67+
"funcProp='global=123;' funcProp2='globalInstance.func' " +
68+
"objProp1='foo:1,bar:2' objProp2='globalObj'/>";
6869
var d = document.getElementById("d");
6970
register.upgrade(d);
7071
assert.isTrue(d.boolProp, "d.boolProp");
@@ -161,7 +162,8 @@ define([
161162
// and also that CustomElement.on() works.
162163

163164
// Define a custom element that emits two events, "click" and "custom".
164-
// You can catch the events via either programmatic on("click", ...) or declarative on-custom=... syntax.
165+
// You can catch the events via either programmatic on("click", ...) or declarative on-custom=...
166+
// syntax.
165167
MyCustomElement = register("my-custom-element-on", [HTMLElement, CustomElement], { });
166168

167169
// Create variables accessed from the declarative custom element (see definition in <body>)

tests/unit/Widget.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ define([
6060
var SpecialNamesMixin = register.dcl(Widget, {
6161
tabIndex: "0",
6262
_setTabIndexAttr: function (val) {
63-
// In a real widget, if you declare a tabIndex property then you better have a custom setter too.
64-
// Otherwise, tabIndex updates won't have any effect. For testing purposes we are just saving
65-
// the new value without applying it to any this.focusNode Element.
63+
// In a real widget, if you declare a tabIndex property then you better have a custom setter
64+
// too. Otherwise, tabIndex updates won't have any effect. For testing purposes we are just
65+
// saving the new value without applying it to any this.focusNode Element.
6666
this._set("tabIndex", val);
6767
},
6868
postCreate: function () {

0 commit comments

Comments
 (0)