http://www.scribd.com/doc/220397/RJShow-it-works
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html
http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper.html
[test rjs]
page.you_holder.cde
[application.js]
YouHolder.cde = function(){
(function($){
alert('lalala');
})(jQuery);
}
layout proc{ |c| c.request.xhr? ? false : "application" }
沒有留言:
張貼留言