- 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:
12
editor/external/core-js-bundle/minified.js
vendored
12
editor/external/core-js-bundle/minified.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
24
editor/external/qr-manipulation/dist/index-es.js
vendored
24
editor/external/qr-manipulation/dist/index-es.js
vendored
@@ -37,6 +37,10 @@ function _iterableToArray(iter) {
|
||||
}
|
||||
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
||||
return;
|
||||
}
|
||||
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
@@ -100,18 +104,18 @@ function convertToString(content, type) {
|
||||
}
|
||||
|
||||
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':
|
||||
@@ -536,4 +540,4 @@ var manipulation = function manipulation($, jml) {
|
||||
return $;
|
||||
};
|
||||
|
||||
export { after, before, append, prepend, html, text, insertTo, clone, empty, remove, attr, removeAttr, addClass, removeClass, hasClass, toggleClass, manipulation };
|
||||
export { addClass, after, append, attr, before, clone, empty, hasClass, html, insertTo, manipulation, prepend, remove, removeAttr, removeClass, text, toggleClass };
|
||||
|
||||
Reference in New Issue
Block a user