所有,我是Backbone的noob,我問的問題可能對你很容易。 最近我開始從一些基礎教程中學習它,我發現很多演示提到了我無法理解的localstorage
。假設我們有這樣的代碼。骨幹localstorage
window.EmployeeList = Backbone.Collection.extend({
model : Employee,
localStorage: new Store("employees")
});
誰能幫助告訴我哪裏是數據employee
存儲?什麼是localStorage
?謝謝。
http://diveintohtml5.info/storage.html – Pramod 2013-02-28 10:01:09