https://bugzilla.wikimedia.org/show_bug.cgi?id=65428
--- Comment #5 from Tisza Gergő <gti...@wikimedia.org> --- Hard to tell how exactly it should be done without knowing how you track when all plugins are loaded, but probably something along the line of all plugins returning a promise which is used to create a master promise saying "all plugins loaded". E.g. var pluginLoadingPromises = []; for ( plugin in this.plugins ) { pluginLoadingPromises.push( plugin.getLoadingPromise() ); } $.when.apply( $.when, pluginLoadingPromises ).then( allPluginsLoadedCallback ); -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l