Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: test/mjsunit/html-string-funcs.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/get-prototype-of.js ('k') | test/mjsunit/if-in-undefined.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/html-string-funcs.js
diff --git a/test/mjsunit/html-string-funcs.js b/test/mjsunit/html-string-funcs.js
index b640639d8a3b5993c908deb3bd1af4691c2e9ff0..2401d349130b7e7c0aa2db4a39ff37cbe9cdb27a 100644
--- a/test/mjsunit/html-string-funcs.js
+++ b/test/mjsunit/html-string-funcs.js
@@ -30,7 +30,7 @@
function CheckSimple(f, tag) {
assertEquals('<' + tag + '>foo</' + tag + '>',
"foo"[f]().toLowerCase());
-};
+}
var simple = { big: 'big', blink: 'blink', bold: 'b',
fixed: 'tt', italics: 'i', small: 'small',
strike: 'strike', sub: 'sub', sup: 'sup' };
@@ -40,7 +40,7 @@ for (var i in simple) CheckSimple(i, simple[i]);
function CheckCompound(f, tag, att) {
assertEquals('<' + tag + ' ' + att + '="bar">foo</' + tag + '>',
"foo"[f]("bar").toLowerCase());
-};
+}
CheckCompound('anchor', 'a', 'name');
CheckCompound('link', 'a', 'href');
CheckCompound('fontcolor', 'font', 'color');
« no previous file with comments | « test/mjsunit/get-prototype-of.js ('k') | test/mjsunit/if-in-undefined.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698