aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-19 14:41:36 -0700
committerMisko Hevery2010-04-19 14:41:36 -0700
commit9f9bdcf3d16de651f85ccfe9e079cb57baca9eb7 (patch)
tree4b9055c613f6a414557a351bd97d5f1e688e2921 /test/testabilityPatch.js
parent618a2b423d826ab8366a6907e71a4af0e76d6211 (diff)
downloadangular.js-9f9bdcf3d16de651f85ccfe9e079cb57baca9eb7.tar.bz2
lint
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js3
1 files changed, 1 insertions, 2 deletions
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('; ') + ';"';