7.3 AppView的代码分析 中,backbone官网的源码中没有,新增加?
tianlu1677 opened this issue · 0 comments
tianlu1677 commented
//生成一个新Todo的所有属性的字典
newAttributes: function() {
return {
content: this.input.val(),
order: Todos.nextOrder(),
done: false
};
},
tianlu1677 opened this issue · 0 comments
//生成一个新Todo的所有属性的字典
newAttributes: function() {
return {
content: this.input.val(),
order: Todos.nextOrder(),
done: false
};
},