- Update: Copy of core-js and qr-manipulation

- npm: Add `underscore` to copy script
- npm: Make `copy`, `compress-images`, `start-embedded`, `build-docs-remove`
  scripts cross-platform; add `start-allow-origin` script
- npm: Update devDeps/`package-lock.json`
This commit is contained in:
Brett Zamir
2019-12-27 07:32:39 +08:00
parent 1d590400f4
commit eb4401e998
8 changed files with 2105 additions and 3656 deletions

View File

@@ -2739,6 +2739,10 @@
}
function _iterableToArrayLimit$2(arr, i) {
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
return;
}
var _arr = [];
var _n = true;
var _d = false;
@@ -2802,18 +2806,18 @@
}
case undefined:
{
// Array of nodes, QueryResult objects
// if (Array.isArray(content)) {
if (typeof content.reduce === 'function') {
return content.reduce(function (s, node) {
return s + convertToString(node, type);
}, '');
}
// Array of nodes, QueryResult objects
// if (Array.isArray(content)) {
if (typeof content.reduce === 'function') {
return content.reduce(function (s, node) {
return s + convertToString(node, type);
}, '');
}
break;
}
return;
return undefined;
}
case 'string':