增加晶全app静态页面
This commit is contained in:
12
node_modules/es5-ext/function/#/microtask-delay.js
generated
vendored
Normal file
12
node_modules/es5-ext/function/#/microtask-delay.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
var ensurePlainFunction = require("../../object/ensure-plain-function")
|
||||
, defineLength = require("../_define-length")
|
||||
, nextTick = require("next-tick");
|
||||
|
||||
var apply = Function.prototype.apply;
|
||||
|
||||
module.exports = function () {
|
||||
var src = ensurePlainFunction(this);
|
||||
return defineLength(function () { nextTick(apply.bind(src, this, arguments)); }, this.length);
|
||||
};
|
Reference in New Issue
Block a user