所有,我是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