README.md in spinjs-rails-0.0.4 vs README.md in spinjs-rails-1.2.7
- old
+ new
@@ -22,11 +22,11 @@
// application.js
//= require spin
```
-or as jQuery plugin:
+or as [jQuery plugin](https://gist.github.com/1290439/):
```javascript
// application.js
//= require jquery.spin
@@ -45,15 +45,22 @@
color: '#000', // #rgb or #rrggbb
speed: 1, // Rounds per second
trail: 60, // Afterglow percentage
shadow: false // Whether to render a shadow
});
+
+// Use customisation shortcuts:
+$("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el.
+$("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color).
```
-
See the full usage details on the [spin.js](http://fgnass.github.com/spin.js/) site.
# License
-[MIT](http://www.opensource.org/licenses/mit-license.php) by [@dnagir](https://twitter.com/#!/dnagir).
+[MIT](http://www.opensource.org/licenses/mit-license.php) by [@dnagir](https://twitter.com/dnagir).
+
+# Thanks
+
+Thanks to [all contributors](https://github.com/dnagir/spinjs-rails/graphs/contributors) and the author of the spin.js