summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative')
-rwxr-xr-xexamples/declarative/tutorials/samegame/samegame4/content/samegame.js2
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();
}