It would be better if this was more like the jQuery syntax system they use. so where you calling callback and passing the element as the first parameter it would be better if you used elem.apply(callback) this why users are still able to use the $(this) to access the element and not have to use a defined variable in the callback method.
Emil Kilhage - 2017-05-03 09:50:18 - In reply to message 1 from martin barker
I'm not to sure about this. In the current version you can use $(this) to access the element or $(element) trough the parameter. Have you tried the code in your pull request? Calling apply on the element doesn't feels like it work?