Sha256: 256213c50dc5dc54516fe3a2af3b5060c09c72792d2d4f305cfb5de883088ff8
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
# ==== # The following options can be changed by creating an initializer in config/initializers/jrails.rb # ==== # ActionView::Helpers::PrototypeHelper::JQUERY_VAR # jRails uses jQuery.noConflict() by default # to use the regular jQuery syntax, use: # ActionView::Helpers::PrototypeHelper::JQUERY_VAR = '$' ActionView::Helpers::PrototypeHelper::JQUERY_VAR = 'jQuery' # ActionView::Helpers::PrototypeHelper:: DISABLE_JQUERY_FORGERY_PROTECTION # Set this to disable forgery protection in ajax calls # This is handy if you want to use caching with ajax by injecting the forgery token via another means # for an example, see http://henrik.nyh.se/2008/05/rails-authenticity-token-with-jquery # ActionView::Helpers::PrototypeHelper::DISABLE_JQUERY_FORGERY_PROTECTION = true # ==== ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery.min', 'jquery-ui.min', 'jrails.min'] ActionView::Helpers::AssetTagHelper::reset_javascript_include_default ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery => ['jquery.min', 'jquery-ui.min'] #ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jrails => ['compiled/jquery.ui/ui.theme.css'] #ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jquery => ['compiled/jquery.ui/ui.theme.css'] require 'jquery/jrails'
Version data entries
4 entries across 4 versions & 2 rubygems