We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdfff6c commit faa6c5dCopy full SHA for faa6c5d
src/utils.js
@@ -1,4 +1,12 @@
1
;(function(window, undefined) {
2
+
3
4
+ window.delay = function(func, wait) {
5
+ var args = Array.prototype.slice.call(arguments, 2);
6
+ return setTimeout(function(){ return func.apply(null, args); }, wait);
7
+ };
8
9
10
/* Debounce and throttle functions taken from underscore.js */
11
window.debounce = function(func, wait, immediate) {
12
var timeout;
0 commit comments