filters refactored

This commit is contained in:
Marek Kotewicz
2014-10-29 14:45:39 +01:00
parent 9adb625846
commit 31c6159019
2 changed files with 36 additions and 66 deletions

View File

@@ -52,7 +52,7 @@
return;
}
self.handlers.forEach(function (handler) {
handler.call(self, {_event: "messages", data: id});
handler.call(self, {_event: payload.call, _id: id, data: parsed.result});
});
});
};