Skip to content

Instantly share code, notes, and snippets.

@soffes
Created August 3, 2009 23:56
Show Gist options
  • Save soffes/160907 to your computer and use it in GitHub Desktop.
Save soffes/160907 to your computer and use it in GitHub Desktop.
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery => ["http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery_ui => ["http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :mootools => ["http://ajax.googleapis.com/ajax/libs/mootools/1.2.3/mootools-yui-compressed.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :prototype => ["http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :scriptaculous => ["http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :dojo => ["http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :swfobject => ["http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :yui => ["http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/yuiloader/yuiloader-min.js"]
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :ext_core => ["http://ajax.googleapis.com/ajax/libs/ext-core/3.0.0/ext-core.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment