I am using Backbone in a project and I am trying to get the events functionality of Backbone Views to work correctly. I have the following code (it is extracted out of my current application):
Okay, so I\'ve read several other questions regarding Backbone views and events not being fired, however I\'m still not getting it sadly.I been messing with Backbone for about a day, so I\'m sure I\'m
Short story... I have nested views but only the top level view can work with events because I am only passing in the \'el\' property to the top level view.
When I call the save method on my model the server returns me a new version of the object from the database (even if there have been errors whilst saving).
I\'m trying to capture the key event from a view as follows: myView = Backbone.View.extend({ el: $(\'#someDiv\'),
I want to introduce logging (for analytics) in a web-application without polluting the source code by inserting log statements all over the place. The application is Javascript heavy. In a Java applic
I\'m using Backbone.js and sometimes the views events do not get bound correctly. I can check the event binding situation with $(viewselector).data() in jQuery. Most of the time there are events, som
I have two collections instantiated: items and sections. Each section can have multiple items and each item can occur in more than one section.
I have the following two views based on Backbone.js pg.views.ItemList = Backbone.View.extend({ tagName:\"div\",
I\'m still new to Unit testing, and specifically PHPUnit as the testing framework. Suppose I\'m building a unit test for a resource loader class. The class looks for resources to load in two director