|
@@ -333,7 +333,7 @@ export function firstDefined(...args) {
|
|
|
|
|
|
|
|
// Returns a function, that, as long as it continues to be invoked, will not
|
|
// Returns a function, that, as long as it continues to be invoked, will not
|
|
|
// be triggered. The function will be called after it stops being called for
|
|
// be triggered. The function will be called after it stops being called for
|
|
|
-// N milliseconds. If `immediate` is passed, trigger the function on the
|
|
|
|
|
|
|
+// N milliseconds.
|
|
|
// leading edge, instead of the trailing.
|
|
// leading edge, instead of the trailing.
|
|
|
// https://github.com/jashkenas/underscore/blob/1.6.0/underscore.js#L714
|
|
// https://github.com/jashkenas/underscore/blob/1.6.0/underscore.js#L714
|
|
|
export function debounce(func, wait) {
|
|
export function debounce(func, wait) {
|