We have a large Marionette App, that uses Backbone.trackit to monitor unsaved changes in our Models.  We now have some nested models, in fact we have a Model, with a Collection of Models, that contain a Collection of Models.  trackit doesn't supp...
I want to have bookmarkable URLs that the browser can capture and handle. If I just use Backbone.history.start(), then I can use hash URLs, like /#accounts.   But I want URLs without the hashes, a la /accounts. But I can't get this to work using...
I have a Backbone app that uses nested collections (at least that's how I think they're called).  In my particular case there are tabs and subtabs, and each tab (model) contains a collection of subtab (model).  For those who're more famil...
I think what I want to do is pretty simple I just don't know how to do it. I would like to fire my own event when one of my models attributes changes for the purpose of passing some data to the event handler (whether the change was an increase or...
I bind on the change event of my backbone models like this.  this.model.on( "change", this.render, this );   Sometimes I want to fetch the latest version of the model and forcibly render the view.  So I do this  this.model.fetch();   Unfortun...
I'm trying to make a simple view to test with backbone. I've started with events, but no one fires. Why ? I've made already other things with backbone like routing etc. without problems. Thanks for your time. My backbone definitions are f...
Edit  According the Hammer Github page this bug was due to Manager leaks and should be fixed in the 2.0.5 version - this version is not built online but one can built it by himself. More info can be found here  =======================================...
I am trying to implement a simple app which is able to get a collection for a given object_id. The GET response from the server looks like this:      [     {object_id: 1, text: "msg1"},      {object_id: 1, text: "msg2"},      {object_...
I'm new to Backbone and am using it with jQuery in Rails. In my view's render method, I use delegateEvents to bind an event handler to the "click" event of a button with id btn-go. This button is itself rendered by the view in questio...
I have form which gets data from backbone model. When the form is shown, they have initially value set to backbone model. Now, if any field is edited, i want to enable "save" button immediately as soon as any changes is made to field. However...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.