appframework
appframework copied to clipboard
afui:ready not triggered when data-include is used
The problem seems to be inside launch().
$.when.apply($,deferred).then(function(){}
this.launchCompleted=true;
$(document).trigger("afui:ready");
}).fail(function(){
this.launchCompleted=true;
$(document).trigger("afui:ready");
});
this is actually a jquery object not $.afui so `this.launchCompleted' does not refer to the proper variable.
Feel like submitting a fix/PR for this?