Skip to content

Commit 48677ca

Browse files
authored
Merge pull request #19 from jaslo/patch-1
fix demo.js
2 parents f5419cc + 6546f1a commit 48677ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function createSampleDataIfEmpty(entityName){
3636
localStorage: lc
3737
});
3838
}else{
39-
M = new Backbone.Model({
39+
M = Backbone.Model.extend({
4040
urlRoot: Evol.Config.url+entityName
4141
});
4242
Ms = Backbone.Collection.extend({

0 commit comments

Comments
 (0)