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

Unified Diff: test/mjsunit/simple-constructor.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
Index: test/mjsunit/simple-constructor.js
diff --git a/test/mjsunit/simple-constructor.js b/test/mjsunit/simple-constructor.js
old mode 100755
new mode 100644
index e9ae921009ec80acb08e597099a2a64dba15382c..e679256197e13658718e426f6b4d1bfab0f1d82e
--- a/test/mjsunit/simple-constructor.js
+++ b/test/mjsunit/simple-constructor.js
@@ -123,14 +123,14 @@ for (var i = 0; i < 10; i++) {
}
function g(){
- this.x=1
+ this.x=1;
Rico 2011/12/08 10:24:37 space around =
}
o = new g();
assertEquals(1, o.x);
o = new g();
assertEquals(1, o.x);
-g.prototype = {y:2}
+g.prototype = {y:2};
o = new g();
assertEquals(1, o.x);
assertEquals(2, o.y);

Powered by Google App Engine
This is Rietveld 408576698