Get object from view to display in text! plugin of backbone project
问题 I am trying to display customer's sale history in a tab. When customer first click in to History tab, the data is displayed from Local Storage of the browser, other wise if the customer search for any specific information, data will gotten from web service(REST) in the form of JSON data. CustomerView.js define(["jquery" , "underscore" , "backbone", "text!templates/Customer/profile.html", "text!templates/Quotation/sale.html", "Quotation" ],function($,_,Backbone,CustomerProfile,SaleHistory