summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake/content/snake.js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/snake/content/snake.js')
-rw-r--r--demos/declarative/snake/content/snake.js4
1 files changed, 2 insertions, 2 deletions
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?