wycats / merb-plugins

Merb Plugins: Even more modules to hook up your Merb installation

This URL has Read+Write access

wycats (author)
Thu Oct 09 10:42:48 -0700 2008
commit  957bcb667bf4a2709bb6efa2e4f562e589a5f2de
tree    a6f90fe2b91d5ba59ec5ab807519486d99516f79
parent  f58908520eb36a5884f8873c5da70a336b658abb
merb-plugins / merb_jquery
name age message
..
file LICENSE Fri Dec 12 16:15:52 -0800 2008 move builder, parts, and jquery out, and except... [wycats]
file README Loading commit data...
file Rakefile
file TODO Fri Dec 12 16:15:52 -0800 2008 move builder, parts, and jquery out, and except... [wycats]
directory lib/
merb_jquery/README
merb-jquery
===========

Makes it easy to use jQuery in your application.

$ gem install merb-jquery

Add
  require 'merb-jquery'
to your init.rb

$ rake merb:jquery:install
Installs the latest jQuery to public/javascripts

In your layout, inside <head>:

<%= jquery %>


In your views:

<% jquery do %>
  $('#foo').something();
<% end %>