README.md in holder_rails-2.0.0 vs README.md in holder_rails-2.1.0
- old
+ new
@@ -25,9 +25,17 @@
```js
//= require holder
```
+And if you're using [turbolinks](https://github.com/rails/turbolinks)
+don't forget to run `Holder` after `page:change` event:
+
+```coffee
+$(document).bind 'page:change', ->
+ Holder.run()
+```
+
You can use `holder_tag` helper in your views:
```ruby
holder_tag 100
# => <img data-src="holder.js/100x100/text:100x100/" src="" />