From a6d5fa01b7e04a74fb3e37a4c73d6ede7bb36d27 Mon Sep 17 00:00:00 2001 From: Jim Cowart Date: Sun, 26 Feb 2012 14:51:45 -0500 Subject: [PATCH] Included return on the Api call to add a wireTap, so that the subscriber could remove the tap --- src/main/Api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Api.js b/src/main/Api.js index 8f384b5..d787f1a 100644 --- a/src/main/Api.js +++ b/src/main/Api.js @@ -25,6 +25,6 @@ var postal = { }, addWireTap: function(callback) { - this.configuration.bus.addWireTap(callback); + return this.configuration.bus.addWireTap(callback); } };