Mercurial > MadButterfly
comparison nodejs/phone.js @ 797:891bbaca1d8f
Fix code style
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 31 Aug 2010 10:16:10 +0800 |
parents | 0b1764cd53b0 |
children | 76470d692bb9 |
comparison
equal
deleted
inserted
replaced
796:0b1764cd53b0 | 797:891bbaca1d8f |
---|---|
8 app.loadSVG("phone_ui.svg"); | 8 app.loadSVG("phone_ui.svg"); |
9 | 9 |
10 var icons = []; | 10 var icons = []; |
11 var r, c; | 11 var r, c; |
12 var mbname; | 12 var mbname; |
13 | |
14 for(c = 0; c < 4; c++) { // 4 columns | 13 for(c = 0; c < 4; c++) { // 4 columns |
15 for(r = 0; r < 5; r++) { // 5 rows | 14 for(r = 0; r < 5; r++) { // 5 rows |
16 mbname = "icon" + c + "" + r; | 15 mbname = "icon" + c + "" + r; |
17 icons.push(app.get(mbname)); | 16 icons.push(app.get(mbname)); |
18 } | 17 } |