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
rails3_devise_wizard-0.3.2 recipes/mootools.rb
rails3_devise_wizard-0.3.1 recipes/mootools.rb
rails3_devise_wizard-0.2.8 recipes/mootools.rb
rails_wizard-0.1.5 recipes/mootools.rb
rails3_devise_wizard-0.2.5 recipes/mootools.rb
rails3_devise_wizard-0.2.4 recipes/mootools.rb
rails3_devise_wizard-0.2.3 recipes/mootools.rb
rails3_devise_wizard-0.2.2 recipes/mootools.rb
rails3_devise_wizard-0.2.1 recipes/mootools.rb
rails3_devise_wizard-0.2 recipes/mootools.rb
rails_wizard-0.1.4 recipes/mootools.rb
rails_wizard-0.1.3 recipes/mootools.rb
rails_wizard-0.1.2 recipes/mootools.rb