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

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

Django Celery - running scheduled tasks -

perl - 'Unquoted string ".." may clash with future reserved word' but only when package is used -