Change event not getting fired on model's 'set()' method with backbone.js -


I am new to backbone.js for my application, when a change event occurs in the model, then render me ' 'Function calls are needed. Somehow this is not happening, my code is here

  function (data) {warning (data); OTable.fnDestroy; Servers.get (.id) .on ('change', this.render, this); Server.get (UID) .Set ('serverStatus', position); Servers.get (.id) .off (); }  

It is very simple, but I am unable to understand why the event is not being removed.


Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -