我得到這個錯誤與FF:類型錯誤:Backbone.localStorage是不是構造不能使用Backbone.localStorage
這是代碼:
app.MyCollection= Backbone.Collection.extend({
model: app.TestModel,
localStorage: new Backbone.localStorage("test-backbone")
});
任何人有一個想法,爲什麼這並未」工作?甚至不需要添加存儲?
[Backbone Local Storage「undefined is not a function」](http://stackoverflow.com/questions/10867467/backbone-local-storage-undefined-is-not-a-function) –