Remove thisArg param.

This commit is contained in:
Julien Fontanet 2015-05-04 17:34:02 +02:00
parent e3ffc8784e
commit a688310b95

View File

@ -7,11 +7,11 @@ import Collection from './collection'
// =================================================================== // ===================================================================
export default class View extends Collection { export default class View extends Collection {
constructor (collection, predicate, thisArg) { constructor (collection, predicate) {
super() super()
this._collection = collection this._collection = collection
this._predicate = createCallback(predicate, thisArg) this._predicate = createCallback(predicate)
// Handles initial items. // Handles initial items.
this._onAdd(this._collection.all) this._onAdd(this._collection.all)