speedy32129/time_logger — pull request #10 by tvdeyen (2014-11-05 10:58:19+00:00)
Title: Rewrite data-replace handling and add support for data-with

Like statet in #6 jQuery dropped support for `.live()`.

This commit fixes this with a approach that is more like the original `.live()` behaviour of jQuery. It also watches for replaced DOM elements. Using only `.on` on the DOM element won't work, because the event is gone after the element got replaced. Using the approach in this commit fixes this and it works like expected.

This also adds support for `data-with` attributes, that fixes the problems with #2