From 37f7157b12aa577a8617caf7361ab2812fb531c8 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 17 Feb 2016 15:49:49 -0800 Subject: [PATCH] fix test linting from #3350 --- test/unit/bind-elements.html | 18 +++++++++--------- test/unit/bind.html | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/test/unit/bind-elements.html b/test/unit/bind-elements.html index 24b4378d..665df9fd 100644 --- a/test/unit/bind-elements.html +++ b/test/unit/bind-elements.html @@ -616,16 +616,16 @@ value: function() { return function(message) { return 'translated: ' + message; - } + }; } - }, + } }, _computeTranslateFn: function(translator) { return function(message) { return translator(message); - } - }, + }; + } }); })(); @@ -649,16 +649,16 @@ computed: '_computeTranslateFn(translator)' }, translator: { - type: Function, - }, + type: Function + } }, _computeTranslateFn: function(translator) { return function(message) { return translator(message); - } - }, + }; + } }); - \ No newline at end of file + diff --git a/test/unit/bind.html b/test/unit/bind.html index 00ec0b59..a2208a36 100644 --- a/test/unit/bind.html +++ b/test/unit/bind.html @@ -284,7 +284,7 @@ suite('single-element binding effects', function() { 'binding-with-dash': 'yes' }; assert.equal(el.$.boundWithDash.textContent, 'yes'); - }) + }); }); @@ -312,7 +312,7 @@ suite('computed bindings with dynamic functions', function() { el.translator = function(message) { return 'changed: ' + message; - } + }; assert.equal(el.$.check.textContent, 'changed: Hello World.'); }); @@ -335,17 +335,17 @@ suite('computed bindings with dynamic functions', function() { is: 'x-observer-with-dynamic-function', properties: { translate: { - type: Function, + type: Function }, message: { type: String, value: 'Hello' - }, + } }, - observers: ['translate(message)'], + observers: ['translate(message)'] - }) + }); el = document.createElement('x-observer-with-dynamic-function'); document.body.appendChild(el);