Alex, he can just check for Prototype :)
if ( Prototype ) {
.....
}
-----Original Message-----
Date: Thursday, July 09, 2009 4:48:45 pm
To: <[email protected]>
From: "Alex McAuley" <[email protected]>
Subject: [Proto-Scripty] Re: Alternatives to Protosafe?
You could check for the jQuery object - this will get round jQuery...
if(jQuery) {
..........................
}
There must be prototype only objects/functions/classes you can test for in
prototype....
I am not sure about other libraries but i think extjs uses the "Ext."
namespace and similar with yahoo
----- Original Message -----
From: "Diodeus" <[email protected]>
To: "Prototype & script.aculo.us" <[email protected]>
Sent: Thursday, July 09, 2009 8:10 PM
Subject: [Proto-Scripty] Alternatives to Protosafe?
>
> I am working on a content delivery solution. This would allow people
> to include some content on their page by adding a script tag. I would
> like to add some slickness to the content, so I would like to use
> Prototype.
>
> I'm looking for some suggestions to safely add Prototype to the target
> pages (I'm inserting a script tag dynamically) without interfering
> with an existing copy of Prototype, jQuery or other libraries.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---