From 13901147660fad321c59dbf4548f72b7d1d52cac Mon Sep 17 00:00:00 2001 From: Jim Cowart Date: Sun, 11 Sep 2011 00:54:42 -0400 Subject: [PATCH] Fixed yet another bug with the modifiers --- build/output/browser/postal.js | 4 ++-- build/output/nodejs/postal.js | 4 ++-- src/Bus.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/output/browser/postal.js b/build/output/browser/postal.js index d90939b..db033fa 100644 --- a/build/output/browser/postal.js +++ b/build/output/browser/postal.js @@ -169,10 +169,10 @@ var wrapWithDelay = function(callback, config) { } }, wrapWithThrottle = function(callback, config) { - return _.throttle(callback, config.throttle); + return _.throttle(callback, config.milliseconds); }, wrapWithDebounce = function(callback, config) { - return _.debounce(callback, config.debounce); + return _.debounce(callback, config.milliseconds); }; var localBus = { diff --git a/build/output/nodejs/postal.js b/build/output/nodejs/postal.js index 9628992..83ccbb8 100644 --- a/build/output/nodejs/postal.js +++ b/build/output/nodejs/postal.js @@ -167,10 +167,10 @@ var wrapWithDelay = function(callback, config) { } }, wrapWithThrottle = function(callback, config) { - return _.throttle(callback, config.throttle); + return _.throttle(callback, config.milliseconds); }, wrapWithDebounce = function(callback, config) { - return _.debounce(callback, config.debounce); + return _.debounce(callback, config.milliseconds); }; var localBus = { diff --git a/src/Bus.js b/src/Bus.js index 3e98097..19696cc 100644 --- a/src/Bus.js +++ b/src/Bus.js @@ -9,10 +9,10 @@ var wrapWithDelay = function(callback, config) { } }, wrapWithThrottle = function(callback, config) { - return _.throttle(callback, config.throttle); + return _.throttle(callback, config.milliseconds); }, wrapWithDebounce = function(callback, config) { - return _.debounce(callback, config.debounce); + return _.debounce(callback, config.milliseconds); }; var localBus = {