Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

afui:ready not triggered when data-include is used #909

Open
pragmaware opened this issue Apr 3, 2016 · 1 comment
Open

afui:ready not triggered when data-include is used #909

pragmaware opened this issue Apr 3, 2016 · 1 comment

Comments

@pragmaware
Copy link

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.

@imaffett
Copy link
Contributor

imaffett commented Apr 4, 2016

Feel like submitting a fix/PR for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants