Right, I just don't want to touch any of the existing/relevant
files....only wrap moo in something that won't conflict. Thanks for
poking into it for me, though, much appreciated. Seems like a no-brainer
to have in a library (and a reason to use jq over moo in general if it
t'aint possible ;-)
Benjamin Sterling wrote:
I was just looking at some of my plugins and realized that, if your
plugins are wrapped like below, doing the noflict should not be a
headache.
|(function($){
// original content
})(jQuery);|
Even if you have to wrap your current code (custom code you written)
in that, you should still be ok.
On 8/22/07, *Benjamin Sterling* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Sorry Jack, never ran into the issue. Maybe replacing all the $
in mootools' core, probably not the best approach, but I could not
find an answer.
Sorry.
On 8/22/07, * Jack Killpatrick* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Right, I know about the no-conflict mode. My issue is the
opposite: I don't want to touch any existing js files to use
jquery in no-conflict mode....and haven't had any luck via
mootools pleas for a workaround at the moo level. Hoping
someone here has dealt with it. I just have a little mootools
thing I need to use so don't want to touch other stuff that's
already working.
Thx.
Jack
Benjamin Sterling wrote:
Check out
http://michaelshadle.com/2007/07/03/jquerys-no-conflict-mode-yet-another-reason-why-its-the-best/
<http://michaelshadle.com/2007/07/03/jquerys-no-conflict-mode-yet-another-reason-why-its-the-best/>
On 8/22/07, *Jack Killpatrick* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I have a site that's chock-full of jquery stuff: numerous
js files using
jquery, bunch of plugins, etc. I have a need to use
mootools for
something that must coexist with the jquery stuff. I know
that jquery's
$ can be changed to something else, but rather than mod
any of my
existing js files, I'd prefer to override moo's $
instead. However,
haven't been able to find a way to do it. I can't imagine
there isn't a
way, but so far no luck.
Anyone in this lovely, lively, vigorous jquery group know
a workaround?
(buttered up enough?)
Thanks,
Jack
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com