diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-05-20 04:08:41 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-05-20 04:11:51 (GMT) |
commit | 5732a44092e17829985a381400bafccc326a0d1f (patch) | |
tree | 49d83690535244d81b421806042a81a0764238d1 /demos | |
parent | 91251b69edd966965bf7944aec642321c362af2a (diff) | |
download | Qt-5732a44092e17829985a381400bafccc326a0d1f.zip Qt-5732a44092e17829985a381400bafccc326a0d1f.tar.gz Qt-5732a44092e17829985a381400bafccc326a0d1f.tar.bz2 |
Rename Component::errorsString() -> errorString() (and also for
QDeclarativeComponent)
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/declarative/samegame/SamegameCore/samegame.js | 4 | ||||
-rw-r--r-- | demos/declarative/snake/content/snake.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/samegame/SamegameCore/samegame.js b/demos/declarative/samegame/SamegameCore/samegame.js index f9c6184..5c008a2 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; diff --git a/demos/declarative/snake/content/snake.js b/demos/declarative/snake/content/snake.js index f5c231e..6f78b33 100644 --- a/demos/declarative/snake/content/snake.js +++ b/demos/declarative/snake/content/snake.js @@ -54,7 +54,7 @@ function startNewGame() } else { if(linkComponent.status != Component.Ready) { if(linkComponent.status == Component.Error) - console.log(linkComponent.errorsString()); + console.log(linkComponent.errorString()); else console.log("Still loading linkComponent"); continue;//TODO: Better error handling? @@ -294,7 +294,7 @@ function createCookie(value) { if(cookieComponent.status != Component.Ready) { if(cookieComponent.status == Component.Error) - console.log(cookieComponent.errorsString()); + console.log(cookieComponent.errorString()); else console.log("Still loading cookieComponent"); return;//TODO: Better error handling? |