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

Unified Diff: test/mjsunit/regress/regress-85177.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/regress/regress-85177.js
diff --git a/test/mjsunit/regress/regress-85177.js b/test/mjsunit/regress/regress-85177.js
index 275bbe7a9bbaaaea18a04388d1a484b0986e966d..6769e2718dd74d92d37ecba46c6c4594d217964f 100644
--- a/test/mjsunit/regress/regress-85177.js
+++ b/test/mjsunit/regress/regress-85177.js
@@ -33,14 +33,15 @@ g=[];
for(var n=0; n<gW; n++){
var l=[];
Rico 2011/12/08 10:24:37 indention
for(var p=0; p<gH; p++){
- l.push(1)
+ l.push(1);
}
- g.push(l)
+ g.push(l);
}
function k(a,b){
- if(a<0||b<0||a>=gW||b>=gH)
+ if(a<0||b<0||a>=gW||b>=gH) {
Rico 2011/12/08 10:24:37 indention
return 0;
+ }
return g[a][b];
}
@@ -53,9 +54,9 @@ function f(){
for(var j=-1; j<=1; j++)
Rico 2011/12/08 10:24:37 add {} around for body
e+=k(f+i,h+j);
e=k(f,h)==1?1:0;
- b.push(e)
+ b.push(e);
}
- a.push(b)
+ a.push(b);
}
}

Powered by Google App Engine
This is Rietveld 408576698