Factor out object+ and Events mixin
Move core infrastructure to the separate npm package.
Events will become dependency-free. Currently it uses following things from underscore: keys, uniqueId, isEmpty, size, bind, once.
Events unit test must be taken from backbone 1.2 regression.
Events must be optimized for JIT (thus, performance test needs to be added).
:+1:
Done in 'develop' (src/object-plus), to be released as separate package when 2.0 will be released.
Here. Mostly works. Awaiting to be published to npm. https://github.com/Volicon/object-plus
looks really interesting :) I'll have to evaluate how well it will work for us as we currently require IE9 support. We are not a TypeScript team so will need to work out how to mentally translate TS docs into JS :) But it would be great to swap out our own backbone-like extending 'class' object with Object+ and gain the additional functionality and the optimisations :)
It believe it shouldn't be the big deal to make this thingy IE9-compatible. If it's not yet.
In addition to standard backbone .extend and Events, you have mixins and native properties definitions. Events should work a bit faster. Especially when you use Messenger base class.