https://bugzilla.wikimedia.org/show_bug.cgi?id=35073

--- Comment #4 from Daniel Schwen <dan...@schwen.de> 2012-03-08 23:46:10 UTC ---
importScript is last century. It loads asynchronously and provides no way of
supplying a callback.

Now if mw.loader.using would allow for arbitrary URLs like mw.loader.load does
(this is an API inconsistency in my opinion), then we'd be talking.
There are many possible cases, where a script would have check the client-side
stored values _before_ any user interaction is made (i.e. to display a
customized user interface). 

Am i expected to result to ugly setTimeout loops to check if my required
objects are already imported?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to