backbone.js - issue in making the view use the variable from model -


i have created model in backbone:

i want know how can use timestamp in model in view?

parse : function(response){                   response.id = response._id.$oid;                 response.created = response.created.$date;                 response.timestamp = response.timestamp.$date;  } 

how can make view know ressponse.timestamp?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -