From b2aacc346c8e975cd9ab8c1b0a6b90adbb98debc Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 30 Apr 2011 03:52:06 +0200 Subject: Prototype and Scriptaculous are no longer vendored, but provided by prototype-rails from now on, also the -j option of the application generator is removed --- .../helpers/asset_tag_helpers/javascript_tag_helpers.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb b/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb index 3d815b5e1f..e1ee0d0e1a 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb @@ -99,10 +99,9 @@ module ActionView # # When passing paths, the ".js" extension is optional. # - # To include the default JavaScript expansion pass :defaults as source. - # By default, :defaults loads jQuery. If the application was generated - # with "-j prototype" the libraries Prototype and Scriptaculous are loaded instead. - # In any case, the defaults can be overridden in config/application.rb: + # If the application is not using the asset pipeline, to include the default JavaScript + # expansion pass :defaults as source. By default, :defaults loads jQuery, + # and that can be overridden in config/application.rb: # # config.action_view.javascript_expansions[:defaults] = %w(foo.js bar.js) # -- cgit v1.2.3