README.md in glow-0.0.7 vs README.md in glow-0.0.8
- old
+ new
@@ -16,11 +16,11 @@
Handle it any way you want:
$(document).bind('glow:flash', function(evt, flash) {
alert(flash.type);
alert(flash.message);
- }
+ });
Also adds a `Flash` object that enables you to fire `glow:flash`.
Flash.success('Yeah this worked!');
Flash.error('Something went wrong!');
@@ -55,10 +55,14 @@
to your layout.
### Rails 3.1
-TODO
+Add
+
+ //=require glow
+
+to your manifest.
## License
See MIT-LICENSE.