Fixed yet another bug with the modifiers

This commit is contained in:
Jim Cowart 2011-09-11 00:54:42 -04:00
parent b591ba609f
commit 1390114766
3 changed files with 6 additions and 6 deletions

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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 = {