README.md in fancybox-rails-0.1.1 vs README.md in fancybox-rails-0.1.2
- old
+ new
@@ -1,8 +1,10 @@
fancybox-rails
==============
+[![Build Status](http://travis-ci.org/hecticjeff/fancybox-rails.png)](http://travis-ci.org/hecticjeff/fancybox-rails)
+
Use [fancybox](http://fancybox.net/) with rails 3.1 asset pipeline.
## Installation
This gem vendors jquery fancybox for Rails 3.1 and greater. The files
@@ -19,10 +21,11 @@
Now you need to edit your `app/assets/javascripts/application.js`
file and add the following line:
``` javascript
+//= require jquery
//= require fancybox
```
And then edit your `app/assets/stylesheets/application.css` file to
look something like:
@@ -45,5 +48,11 @@
``` javascript
jQuery(function() {
$("a.fancybox").fancybox();
});
```
+
+## More information
+
+* [DHH's RailsConf 2011 talk on the rails 3.1 asset pipeline](http://www.youtube.com/watch?v=cGdCI2HhfAU)
+
+Copyright (c) Chris Mytton