summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-23 05:37:32 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-23 05:37:32 (GMT)
commitdd9617e4cdf05319f272804e293d870a00aa0b66 (patch)
tree88749a324f7e052ae93a550e9be89a37ce7f7e48 /demos/declarative/snake
parent624c561d64e37f8fe8cd06d4ce779b8794baddcb (diff)
downloadQt-dd9617e4cdf05319f272804e293d870a00aa0b66.zip
Qt-dd9617e4cdf05319f272804e293d870a00aa0b66.tar.gz
Qt-dd9617e4cdf05319f272804e293d870a00aa0b66.tar.bz2
Replace usage of print() with console.log().
Diffstat (limited to 'demos/declarative/snake')
-rw-r--r--demos/declarative/snake/content/snake.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/snake/content/snake.js b/demos/declarative/snake/content/snake.js
index 2457fbd..02f9757 100644
--- a/demos/declarative/snake/content/snake.js
+++ b/demos/declarative/snake/content/snake.js
@@ -54,9 +54,9 @@ function startNewGame()
} else {
if(linkComponent.isReady == false){
if(linkComponent.isError == true)
- print(linkComponent.errorsString());
+ console.log(linkComponent.errorsString());
else
- print("Still loading linkComponent");
+ console.log("Still loading linkComponent");
continue;//TODO: Better error handling?
}
var link = linkComponent.createObject();
@@ -295,9 +295,9 @@ function createCookie(value) {
if(cookieComponent.isReady == false){
if(cookieComponent.isError == true)
- print(cookieComponent.errorsString());
+ console.log(cookieComponent.errorsString());
else
- print("Still loading cookieComponent");
+ console.log("Still loading cookieComponent");
return;//TODO: Better error handling?
}
cookie = cookieComponent.createObject();