aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/store/store.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-12 19:33:06 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-12 19:33:06 +0100
commit588d6dbe22630333a4da6b4cb92158c25c4b858e (patch)
treed4cb2fec260fab89711ad43838cba8be170f03bf /web/src/js/store/store.js
parent5ccae48b92b093d68c8df8e557624cfb29d9c2fa (diff)
downloadmitmproxy-588d6dbe22630333a4da6b4cb92158c25c4b858e.tar.gz
mitmproxy-588d6dbe22630333a4da6b4cb92158c25c4b858e.tar.bz2
mitmproxy-588d6dbe22630333a4da6b4cb92158c25c4b858e.zip
web: filtering
Diffstat (limited to 'web/src/js/store/store.js')
-rw-r--r--web/src/js/store/store.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/store/store.js b/web/src/js/store/store.js
index 0f94e496..30932f18 100644
--- a/web/src/js/store/store.js
+++ b/web/src/js/store/store.js
@@ -29,7 +29,7 @@ _.extend(ListStore.prototype, EventEmitter.prototype, {
reset: function (elems) {
this.list = elems || [];
this._build_map();
- this.emit("recalculate", this.list);
+ this.emit("recalculate");
},
_build_map: function () {
this._pos_map = {};
@@ -54,11 +54,11 @@ function DictStore() {
_.extend(DictStore.prototype, EventEmitter.prototype, {
update: function (dict) {
_.merge(this.dict, dict);
- this.emit("recalculate", this.dict);
+ this.emit("recalculate");
},
reset: function (dict) {
this.dict = dict || {};
- this.emit("recalculate", this.dict);
+ this.emit("recalculate");
}
});