こんにちは、バックボーンのサンプル アプリ ( http://backbonejs.org/examples/todos/index.html ) で、remaining()関数で apply ( this.without.apply(this, this.done() ); ) でなく、this.without(this.done())
// Filter down the list of all todo items that are finished.
done: function() {
return this.where({done: true});
},
// Filter down the list to only todo items that are still not finished.
remaining: function() {
return this.without.apply(this, this.done());
},
ありがとう !
#アップデート
デバッガ出力
this.without(this.done())
[child, child, child, child]
this.without.apply(this, this.done());
[child, child, child]