Sha256: d0de640bb0451aac673fa8aab2de79396aea7137b2dce448b0c992d321c17aca

Contents?: true

Size: 681 Bytes

Versions: 53

Compression:

Stored size: 681 Bytes

Contents

inside "public/javascripts" do
  get "https://github.com/kevinvaldek/mootools-ujs/raw/master/Source/rails.js", "rails.js"
  get "http://ajax.googleapis.com/ajax/libs/mootools/1.3.1/mootools-yui-compressed.js", "mootools.min.js"
end

gsub_file "config/application.rb", /# JavaScript.*\n/, ""
gsub_file "config/application.rb", /# config\.action_view\.javascript.*\n/, ""

application do
  "\n    config.action_view.javascript_expansions[:defaults] = %w(mootools.min rails)\n"
end

__END__

name: MooTools
description: "Adds MooTools and MooTools-compatible UJS helpers."
author: mbleigh

exclusive: javascript_framework
category: assets 
tags: [javascript, framework]

args: ["-J"]

Version data entries

53 entries across 53 versions & 6 rubygems

Version Path
appscrolls-0.11.2 scrolls/untested/mootools.rb
appscrolls-0.11.1 scrolls/untested/mootools.rb
appscrolls-0.11.0 scrolls/untested/mootools.rb
appscrolls-0.10.1 scrolls/untested/mootools.rb
appscrolls-0.10.0 scrolls/untested/mootools.rb
appscrolls-0.9.0 scrolls/untested/mootools.rb
appscrolls-0.8.4 scrolls/zzz/mootools.rb
appscrolls-0.8.3 scrolls/zzz/mootools.rb
appscrolls-0.8.2 scrolls/zzz/mootools.rb
appscrolls-0.8.1 scrolls/zzz/mootools.rb
appscrolls-0.8.0 scrolls/zzz/mootools.rb
appscrolls-0.7.1 scrolls/zzz/mootools.rb
appscrolls-0.7.0 scrolls/zzz/mootools.rb
eldarscrolls-0.7.0 scrolls/zzz/mootools.rb
ey_rails_wizard-0.6.0 scrolls/zzz/mootools.rb
ey_rails_wizard-0.5.0 scrolls/mootools.rb
ey_rails_wizard-0.4.0 scrolls/mootools.rb
ey_rails_wizard-0.3.1 recipes/mootools.rb
rails_apps_composer-1.0.26 recipes/mootools.rb
rails_apps_composer-1.0.25 recipes/mootools.rb