mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-05-24 14:33:44 +00:00
Fixed yet another bug with the modifiers
This commit is contained in:
parent
b591ba609f
commit
1390114766
3 changed files with 6 additions and 6 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue