I am very new to WADE and I really am excited to get going with my first app. I need to grab some json from a website that I own.
No matter what I do I get this error:
Warning trying to get json file with out loading it first.
Also, how do I clear the app logs?
Are there any shortcut keys for running the app?
Here is my code:
App = function()
{
// this is where the WADE app is initialized
this.init = function()
{
wade.loadJson('https://pubzen.com/books/bears/bears.json');
this.book =wade.getJson('https://pubzen.com/books/bears/bears.json');
this.bookText=this.book.data;
for ( var i in this.bookText) {
var id = this.bookText[i];
//console.log(id);
for (var j in id){
var word = id[j];
console.log(word);
}
}
// load a scene
wade.loadScene('scene1.wsc', true, function()
{
});
};
};