sebarmeli/JAIL — pull request #38 by Paratron (2013-04-02 08:50:23+00:00)
Title: Fixing a little bug with jQuerys .bind()

I am currently creating a website that incorporates a couple of scroll event based plugins and suddenly they all stopped working.

After a bit of research I found out that this was because of JAIL loaded and executed in the page. It broke even the ScrollSpy plugin from Twitters Bootstrap, as well of two other plugins from myself.

After a look into the code of JAIL, I noticed that the old `bind()` has been used to bind the scroll- and other events. I switched that to `on()`, because I had jQuery 1.9.1 running on the page. After changing the methods, everything worked fine again.