backbone.intercept
backbone.intercept copied to clipboard
Ambient management of link clicks and form submissions.
I had to build this locally to test, as I couldn‘t get the test suite running properly, and daringly bumped the version number to reflect the patch.
This is because ``` js _interceptForms: function(e) { if (e.target && e.target.action) { return; } e.preventDefault(); }, ``` returns when there's an action. In Edge, if there is no action...
backbone.intercept didn't intercept any links on IE8 since jQuery sets e.which to 0 for left click on IE8 didn't create an issue for this but i can if you want...
This library doesn't need to have a BB dep. I should take the meat of its logic out and place it into intercept.js, which provides a callback once something is...
I can likely get away w.o. jQuery here at all. This will help with #11 as well.
Routes passed to the navigate method should remove the root. Related-ish to #15
I have a situation where the app I'm working with outputs full URLs (a la `http://website.com/pathname`). These URLs need to be picked up and actioned in Backbone, and I have...