diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-13 00:54:12 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-13 04:49:31 (GMT) |
commit | 35d0792025d515e81b2bf208aa1fd7dce28096e6 (patch) | |
tree | 4ceb64760b87114ac866d7511758e8e4d69a8916 /examples/declarative | |
parent | 269ffcb59df843cb44c7d0b89b2e648af96f0f06 (diff) | |
download | Qt-35d0792025d515e81b2bf208aa1fd7dce28096e6.zip Qt-35d0792025d515e81b2bf208aa1fd7dce28096e6.tar.gz Qt-35d0792025d515e81b2bf208aa1fd7dce28096e6.tar.bz2 |
Make demo code more consistent with example code in terms of variable
naming and code style.
Diffstat (limited to 'examples/declarative')
-rwxr-xr-x | examples/declarative/tutorials/samegame/samegame4/content/samegame.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame4/content/samegame.js b/examples/declarative/tutorials/samegame/samegame4/content/samegame.js index 47985de..7800b6e 100755 --- a/examples/declarative/tutorials/samegame/samegame4/content/samegame.js +++ b/examples/declarative/tutorials/samegame/samegame4/content/samegame.js @@ -13,8 +13,8 @@ function index(column, row) { } function startNewGame() { + //Delete blocks from previous game for (var i = 0; i < maxIndex; i++) { - //Delete blocks from previous game if (board[i] != null) board[i].destroy(); } |