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