summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/SamegameCore/samegame.js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/samegame/SamegameCore/samegame.js')
-rwxr-xr-xdemos/declarative/samegame/SamegameCore/samegame.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/samegame/SamegameCore/samegame.js b/demos/declarative/samegame/SamegameCore/samegame.js
index f9c6184437..5c008a2a46 100755
--- a/demos/declarative/samegame/SamegameCore/samegame.js
+++ b/demos/declarative/samegame/SamegameCore/samegame.js
@@ -179,7 +179,7 @@ function createBlock(column,row){
var dynamicObject = component.createObject(gameCanvas);
if(dynamicObject == null){
console.log("error creating block");
- console.log(component.errorsString());
+ console.log(component.errorString());
return false;
}
dynamicObject.type = Math.floor(Math.random() * 3);
@@ -192,7 +192,7 @@ function createBlock(column,row){
board[index(column,row)] = dynamicObject;
}else{
console.log("error loading block component");
- console.log(component.errorsString());
+ console.log(component.errorString());
return false;
}
return true;