简体   繁体   English

插件/ Gem在Rails 2.3.x中获得Rails 3风格的UJS?

[英]Plugin/Gem to get Rails 3 style UJS in Rails 2.3.x?

I have a new application starting that's using Rails 2.3.8 for stability concerns and gem compatibility, however we'd like to begin being conscious of Unobtrusive JavaScript by implementing the Rails 3 style UJS in this application. 我有一个新的应用程序开始使用Rails 2.3.8来解决稳定性问题和gem兼容性,但是我们想通过在这个应用程序中实现Rails 3样式的UJS来开始意识到Unobtrusive JavaScript。 Is there any existing plugin/gem that backports this feature? 是否有任何现有的插件/ gem支持此功能?

We are currently using the jrails gem to swap jQuery for Prototype, as it is better suited to our needs. 我们目前正在使用jrails gem来交换jQuery for Prototype,因为它更适合我们的需求。 Is there an easy way to integrate jQuery with Rails 3 style UJS in a Rails 2.3.x application? 有没有一种简单的方法可以在Rails 2.3.x应用程序中将jQuery与Rails 3风格的UJS集成?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM