ianstormtaylor / backbone-events Goto Github PK View Code? Open in Web Editor NEW 2.0 2.0 0.0 1.12 MB (I no longer use Backbone, but feel free to check this plugin out. The code is pretty straightforward.) A Backbone.js mixin that lets you define all your events in one place. JavaScript 100.00% Introduction ยท People ยท Discuss
try a new syntax think about benefits/drawbacks events : { 'click li a' : 'onClickLiAEl', 'submit form' : 'onSubmitForm', 'collection' : { 'add remove reset' : 'onCollectionUpdate', 'change' : 'onCollectionChange' }, 'settings.segments' : { 'change:state:evaluated' : 'onSegmentsStateEvaluatedChange' } }; pros: one events hash instead of this.backboneEvents and this.events cons: requires deep copying when inheriting
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.