Mercurial > MadButterfly
comparison nodejs/phone.js @ 796:0b1764cd53b0
Fix missed naming for variables
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 31 Aug 2010 10:13:03 +0800 |
parents | 46a4cd4d382b |
children | 891bbaca1d8f |
comparison
equal
deleted
inserted
replaced
795:46a4cd4d382b | 796:0b1764cd53b0 |
---|---|
9 | 9 |
10 var icons = []; | 10 var icons = []; |
11 var r, c; | 11 var r, c; |
12 var mbname; | 12 var mbname; |
13 | 13 |
14 for(r = 0; r < 4; r++) { | 14 for(c = 0; c < 4; c++) { // 4 columns |
15 for(c = 0; c < 5; c++) { | 15 for(r = 0; r < 5; r++) { // 5 rows |
16 mbname = "icon" + r + "" + c; | 16 mbname = "icon" + c + "" + r; |
17 icons.push(app.get(mbname)); | 17 icons.push(app.get(mbname)); |
18 } | 18 } |
19 } | 19 } |
20 | 20 |
21 var overhint, presshint; | 21 var overhint, presshint; |