id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
7049	making jQuery.noConflict() callable anytime	jclain		"hello,

I use jQuery in an environnement where other js library than jquery are loaded, and the loading order of libraries may be difficult to control properly.
I use a code like this in all my pages (this is autogenerated):

jQuery.noConflict()(function ($) {
...
});

I understand that jQuery.noConflict() should only be callled if jquery is loaded *after* the other library.
I would like noConflict() to be callable anytime. I attach a patch that return control of $ and jQuery only if really necessary

This patch work for me. But if there are any defiencies in this code that can't see, please let me know

with best regards,
jephte clain
"	feature	closed	low	1.6	core	1.4.2	fixed	noConflict			
