we have js2AddOnloadHook that gives you jquery in no conflict as $j variable the idea behind using a different name is to separate jquery based code from the older non-jquery based code... but if taking a more iterative approach we could replace the addOnloadHook function.
--michael Daniel Friesen wrote: > I got another, not from the thread of course. I'd like addOnloadHook to > be replaced by jQuery's ready which does a much better job of handling > load events. > > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] > > Tim Starling wrote: > >> Here's what I'm taking out of this thread: >> >> * Platonides mentions the case of power-users with tens of scripts loaded via >> gadgets or user JS with importScript(). >> * Tisza asks that core onload hooks and other functions be overridable by >> user JS. >> * Trevor and Michael both mention i18n as an important consideration which I >> have not discussed. >> * Michael wants certain components in the js2 directory to be usable as >> standalone client-side libraries, which operate without MediaWiki or any >> other >> server-side application. >> >> -- Tim Starling >> >> > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
