2 ms·
It would be nice to get rid of Backbone. The chief dependency is the event parsing piggybacks on Backbone's, but it shouldn't be too hard to pull that code out
by zackbloom 14y ago
It would be nice to get rid of Backbone. The chief dependency is the event parsing piggybacks on Backbone's, but it shouldn't be too hard to pull that code out and include it directly.
- tzaman 14y agoPing me (tomaz[at]codeable[dot]io) if you do that (getting rid of Backbone dependency), I'll be more than happy to include it in our product, since we're just in the middle of implementing a notification system.
- zackbloom 14y agoWilco: https://github.com/HubSpot/messenger/issues/9 https://github.com/HubSpot/messenger/issues/9
- tzaman 14y agoExcellent, and while you're at it, make it a proper jQuery plugin then advertise it like one. Review sites and bloggers will be more than happy to put it in their "Top X jQuery plugins" posts, giving you a wider reach.
- mikeryan 14y agoSomeone did pull out the events for you https://github.com/jrf0110/backbone-events https://github.com/jrf0110/backbone-events Not sure if they're keeping it up to date however.
- masklinn 14y agoWould probably be even better to use custom DOM events.