增加晶全app静态页面
This commit is contained in:
11
node_modules/es5-ext/object/ensure-plain-function.js
generated
vendored
Normal file
11
node_modules/es5-ext/object/ensure-plain-function.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
var safeToString = require("../safe-to-string")
|
||||
, isPlainFunction = require("./is-plain-function");
|
||||
|
||||
module.exports = function (value) {
|
||||
if (!isPlainFunction(value)) {
|
||||
throw new TypeError(safeToString(value) + " is not a plain function");
|
||||
}
|
||||
return value;
|
||||
};
|
Reference in New Issue
Block a user