From 72a59f77cd5375d3bb691b0396c1f4b30ac722d8 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Wed, 16 Aug 2017 19:31:28 -0700 Subject: [PATCH] Fix missing semi-colons in test folder --- test/unit/configure.html | 2 +- test/unit/custom-style-async.html | 2 +- test/unit/custom-style.html | 4 +-- test/unit/dom-if.html | 4 +-- test/unit/dom-repeat.html | 4 +-- test/unit/flattened-nodes-observer.html | 24 ++++++++--------- test/unit/gestures-elements.html | 2 +- test/unit/gestures.html | 14 +++++----- test/unit/importHref.html | 2 +- test/unit/inheritance.html | 14 +++++----- test/unit/logging.html | 4 +-- test/unit/mixin-behaviors.html | 6 ++--- test/unit/mixin-utils.html | 10 +++---- test/unit/path-effects.html | 4 +-- test/unit/polymer-dom-observeNodes.html | 2 +- test/unit/polymer-dom.html | 2 +- .../polymer-element-with-apply-import.html | 4 +-- test/unit/polymer.element.html | 24 ++++++++--------- test/unit/polymer.legacyelement.html | 2 +- test/unit/property-accessors.html | 6 ++--- test/unit/property-effects-elements.html | 6 ++--- test/unit/property-effects-template.html | 4 +-- test/unit/property-effects.html | 6 ++--- test/unit/ready-attached-order-class.html | 26 +++++++++---------- test/unit/ready-attached-order.html | 6 ++--- test/unit/render-status.html | 6 ++--- test/unit/resolveurl.html | 8 +++--- test/unit/shady-content.html | 6 ++--- test/unit/shady-dynamic.html | 8 +++--- test/unit/shady-events.html | 6 ++--- test/unit/shady.html | 2 +- test/unit/styling-cross-scope-apply.html | 14 +++++----- .../styling-cross-scope-unknown-host.html | 2 +- test/unit/styling-cross-scope-var.html | 2 +- test/unit/styling-import.html | 6 ++--- test/unit/styling-only-with-template.html | 2 +- test/unit/styling-scoped.html | 4 +-- test/unit/template-whitespace.html | 4 +-- test/unit/templatize-elements.html | 2 +- 39 files changed, 128 insertions(+), 128 deletions(-) diff --git a/test/unit/configure.html b/test/unit/configure.html index 30d12f7ef3..06be8105f4 100644 --- a/test/unit/configure.html +++ b/test/unit/configure.html @@ -333,7 +333,7 @@ fooChanged: function(foo) { this.$.lazy.hadAttrProp = foo; } - }) + }); }); diff --git a/test/unit/custom-style-async.html b/test/unit/custom-style-async.html index 1d225fdb6e..c6ff2e7e87 100644 --- a/test/unit/custom-style-async.html +++ b/test/unit/custom-style-async.html @@ -35,7 +35,7 @@ HTMLImports.whenReady(function() { Polymer({ is: 'x-host' - }) + }); }); diff --git a/test/unit/custom-style.html b/test/unit/custom-style.html index 684ba102a3..82a117c1b0 100644 --- a/test/unit/custom-style.html +++ b/test/unit/custom-style.html @@ -289,7 +289,7 @@ Polymer({ is: 'x-blue-bold-text' }); - }) + }); diff --git a/test/unit/flattened-nodes-observer.html b/test/unit/flattened-nodes-observer.html index b436b80fd0..6415983c70 100644 --- a/test/unit/flattened-nodes-observer.html +++ b/test/unit/flattened-nodes-observer.html @@ -25,7 +25,7 @@ diff --git a/test/unit/gestures.html b/test/unit/gestures.html index 165cecbca9..31fb5d7882 100644 --- a/test/unit/gestures.html +++ b/test/unit/gestures.html @@ -74,7 +74,7 @@ identifier: 1, // target is set to the element with `addEventListener`, which is app target: app - }] + }]; let touchstart = new CustomEvent('touchstart', {bubbles: true, composed: true}); touchstart.touches = touchstart.changedTouches = touches; let touchend = new CustomEvent('touchend', {composed: true, bubbles: true}); @@ -109,7 +109,7 @@ Polymer.RenderStatus.afterNextRender(null, function() { inner = outer.$.inner; done(); - }) + }); }); suite('setup', function() { @@ -497,7 +497,7 @@ suiteSetup(function() { el = document.createElement('x-imperative'); document.body.appendChild(el); - fn = function(e) { el.handle(e) }; + fn = function(e) { el.handle(e); }; }); suiteTeardown(function() { document.body.removeChild(el); @@ -514,7 +514,7 @@ el.dispatchEvent(ev); assert.equal(el.stream.length, 2); assert.equal(el.stream[1].type, 'up'); - }) + }); test('remove listeners with removeListener', function() { Polymer.Gestures.remove(el, 'down', fn); @@ -524,7 +524,7 @@ ev = new CustomEvent('mouseup', {bubbles: true, composed: true}); el.dispatchEvent(ev); assert.equal(el.stream.length, 2); - }) + }); }); suite('setScrollDirection', function() { @@ -539,7 +539,7 @@ assert.equal(el[key], 'pan-x'); el.setScrollDirection('y'); assert.equal(el[key], 'pan-y'); - }) + }); }); suite('Regression Testing', function() { @@ -550,7 +550,7 @@ document.dispatchEvent(new MouseEvent('click', { detail: 1, clientX: 100, bubbles: true, composed: true })); Polymer.Gestures.remove(document, 'tap', null); }); - }) + }); diff --git a/test/unit/importHref.html b/test/unit/importHref.html index 63e7a5124a..5f43a67cad 100644 --- a/test/unit/importHref.html +++ b/test/unit/importHref.html @@ -29,7 +29,7 @@ Polymer.importHref('../../polymer.html', function() { assert.ok(Polymer.Element); done(); - }) + }); }); test('element loaded with Polymer.Base.importHref upgrades properly', function(done) { diff --git a/test/unit/inheritance.html b/test/unit/inheritance.html index 386510bd0e..25c8910427 100644 --- a/test/unit/inheritance.html +++ b/test/unit/inheritance.html @@ -40,9 +40,9 @@ diff --git a/test/unit/polymer-element-with-apply-import.html b/test/unit/polymer-element-with-apply-import.html index c0bce259ba..2fbc78dd89 100644 --- a/test/unit/polymer-element-with-apply-import.html +++ b/test/unit/polymer-element-with-apply-import.html @@ -22,7 +22,7 @@ @@ -50,7 +50,7 @@ diff --git a/test/unit/polymer.element.html b/test/unit/polymer.element.html index 02afd0d6be..63de66421e 100644 --- a/test/unit/polymer.element.html +++ b/test/unit/polymer.element.html @@ -39,7 +39,7 @@ computedProp: { computed: '_compute(computedPropDep)' } - } + }; } static get observers() { @@ -112,7 +112,7 @@ computedPropDep: { computed: '_compute(prop2)' } - } + }; } static get observers() { @@ -165,13 +165,13 @@ value: 'mixin', observer: '_mixinObserver' } - } + }; } static get observers() { return [ '_mixinMethodObserver(mixin, prop, prop2)' - ] + ]; } constructor() { @@ -193,7 +193,7 @@ this.addEventListener('click', (e) => this._tapListener(e)); } - } + }; } class SubMixinElement extends MyMixin(window.SubElement) { @@ -206,13 +206,13 @@ value: 'prop3', observer: '_prop3Observer' } - } + }; } static get observers() { return [ '_subMixinMethodObserver(mixin, prop, prop2, prop3)' - ] + ]; } constructor() { @@ -259,12 +259,12 @@

Sub template

prop2: { value: 'prop2', } - } + }; } } customElements.define('sub-new-template', SubNewTemplate); - }) + }); @@ -65,7 +65,7 @@ diff --git a/test/unit/styling-only-with-template.html b/test/unit/styling-only-with-template.html index 5134867a36..c724b26678 100644 --- a/test/unit/styling-only-with-template.html +++ b/test/unit/styling-only-with-template.html @@ -50,7 +50,7 @@ } } customElements.define('x-foo', XFoo); - }) + }); @@ -740,7 +740,7 @@ test('::slotted + named slot', function() { var x = document.createElement('x-slotted'); var d1 = document.createElement('div'); - d1.setAttribute('slot', 'container') + d1.setAttribute('slot', 'container'); d1.textContent = 'named slot child'; document.body.appendChild(x); Polymer.dom(x).appendChild(d1); diff --git a/test/unit/template-whitespace.html b/test/unit/template-whitespace.html index af9a708b80..4bb15c9ad2 100644 --- a/test/unit/template-whitespace.html +++ b/test/unit/template-whitespace.html @@ -141,7 +141,7 @@ Polymer({ properties: { items: { - value: function() { return [1, 2, 3]} + value: function() { return [1, 2, 3];} } }, is: 'no-whitespace-repeat' @@ -175,7 +175,7 @@ var el = document.createElement('no-whitespace-style'); document.body.appendChild(el); var c$ = Array.from(el.root.childNodes).filter(function(e) { - return e.localName != 'style'}); + return e.localName != 'style';}); assert.equal(c$.length, 2); }); diff --git a/test/unit/templatize-elements.html b/test/unit/templatize-elements.html index 1afbe441df..00470f6e1f 100644 --- a/test/unit/templatize-elements.html +++ b/test/unit/templatize-elements.html @@ -238,7 +238,7 @@ outerObjChanged: function() {}, objAChanged: function() {}, objBChanged: function() {}, - computeFromLiteral: function(literal, prop) { return literal + '-' + prop } + computeFromLiteral: function(literal, prop) { return literal + '-' + prop; } });