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
Post a Comment