From a688310b95449fb420777501e1ab53f20f906e2f Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Mon, 4 May 2015 17:34:02 +0200 Subject: [PATCH] Remove thisArg param. --- packages/xo-collection/src/view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/xo-collection/src/view.js b/packages/xo-collection/src/view.js index 358fe74cb..7b1107d7f 100644 --- a/packages/xo-collection/src/view.js +++ b/packages/xo-collection/src/view.js @@ -7,11 +7,11 @@ import Collection from './collection' // =================================================================== export default class View extends Collection { - constructor (collection, predicate, thisArg) { + constructor (collection, predicate) { super() this._collection = collection - this._predicate = createCallback(predicate, thisArg) + this._predicate = createCallback(predicate) // Handles initial items. this._onAdd(this._collection.all)