From 9f9bdcf3d16de651f85ccfe9e079cb57baca9eb7 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 19 Apr 2010 14:41:36 -0700 Subject: lint --- test/testabilityPatch.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/testabilityPatch.js') diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 055c2f77..21443fa5 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -77,13 +77,12 @@ function sortedHtml(element) { for(var css in node.style){ var value = node.style[css]; if (isString(value) && isString(css) && css != 'cssText' && value && (1*css != css)) { - var value = node.style[css]; var text = css + ': ' + value; if (value != 'false' && indexOf(style, text) == -1) { style.push(text); } } - }; + } style.sort(); if (style.length) { html += ' style="' + style.join('; ') + ';"'; -- cgit v1.2.3