# HG changeset patch # User Thinker K.F. Li # Date 1283220783 -28800 # Node ID 0b1764cd53b0aa319e15482cdc3fe28ac8be49b1 # Parent 46a4cd4d382b0d2eced46ce016b46c4f0f93528f Fix missed naming for variables diff -r 46a4cd4d382b -r 0b1764cd53b0 nodejs/phone.js --- a/nodejs/phone.js Tue Aug 31 10:04:15 2010 +0800 +++ b/nodejs/phone.js Tue Aug 31 10:13:03 2010 +0800 @@ -11,9 +11,9 @@ var r, c; var mbname; -for(r = 0; r < 4; r++) { - for(c = 0; c < 5; c++) { - mbname = "icon" + r + "" + c; +for(c = 0; c < 4; c++) { // 4 columns + for(r = 0; r < 5; r++) { // 5 rows + mbname = "icon" + c + "" + r; icons.push(app.get(mbname)); } }