I have updated it with a version that reduces some overhead by using
closures, thanx kangax.

Yes Prototype would use Prototype.exec() instead of eval inside the
ajax methods.
http://dev.rubyonrails.org/ticket/11284
http://dev.rubyonrails.org/ticket/8112

I don't think this form of code execution is allowed by Adobe AIR
either (I think they block script insertions, don't hold me to that
though).
I think AIR does allow eval in some cases I believe for things like
json .

The only place that needs an extension to work for AIR is in the
Selector class.
Since a lot of the code is based off of Ext's selector class the ext-
air-adaptor js might be useful in
creating a prototype-air-adaptor companion js.

http://www.adobe.com/devnet/air/articles/introduction_to_air_security.html

-JDD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to