I'm working on a library which uses jQuery internally which work fine. But I don't want force the user to use my jQuery version just because he uses my library in his code.
So the question is, how can I use jQuery under a different name?
Is it sufficient to do something like this:
var mylib.jQuery = {};
mylib.jQuery = jQuery.noConflict(true);
This will make jQuery available under mylib.jQuery
and free the $
symbol, but the original jQuery
symbol still works (which I think is not so good).