oops
This commit is contained in:
1 parent
11eb566158
commit
f9eb1fde67
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
module.exports = function (f) {
|
||||||
|
var called;
|
||||||
|
return function () {
|
||||||
|
if (called) { return; }
|
||||||
|
called = true;
|
||||||
|
f.apply(this, Array.prototype.slice.call(arguments));
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in new issue
Block a user