appframework icon indicating copy to clipboard operation
appframework copied to clipboard

afui:ready not triggered when data-include is used

Open pragmaware opened this issue 9 years ago • 1 comments

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.

pragmaware avatar Apr 03 '16 02:04 pragmaware

Feel like submitting a fix/PR for this?

imaffett avatar Apr 04 '16 11:04 imaffett