From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- node_modules/babel-runtime/helpers/toArray.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 node_modules/babel-runtime/helpers/toArray.js (limited to 'node_modules/babel-runtime/helpers/toArray.js') diff --git a/node_modules/babel-runtime/helpers/toArray.js b/node_modules/babel-runtime/helpers/toArray.js new file mode 100644 index 00000000..8601a44e --- /dev/null +++ b/node_modules/babel-runtime/helpers/toArray.js @@ -0,0 +1,13 @@ +"use strict"; + +exports.__esModule = true; + +var _from = require("../core-js/array/from"); + +var _from2 = _interopRequireDefault(_from); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +exports.default = function (arr) { + return Array.isArray(arr) ? arr : (0, _from2.default)(arr); +}; \ No newline at end of file -- cgit v1.2.3