resizeend packaged for Rails assets pipeline.
Add the following line to your Gemfile:
gem 'resizeend-rails'
Then run bundle install
, and add the following directive to your JavaScript manifest file:
//= require resizeend
The script was written and is maintained by Dominik Porada.
Distributed under MIT license.