- Linting (ESLint): Fix linting regression

- Build: Update
master
Brett Zamir 2020-01-05 18:30:21 +08:00
parent 4b33c73f00
commit 205a70b385
9 changed files with 805 additions and 1859 deletions

657
dist/index-es.js vendored

File diff suppressed because it is too large Load Diff

16
dist/index-es.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

657
dist/index-umd.js vendored

File diff suppressed because it is too large Load Diff

14
dist/index-umd.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -744,7 +744,6 @@ editor.init = function () {
urldata.dimensions = urldata.dimensions.split(',');
}
if (urldata.extensions) {
// For security reasons, disallow cross-domain or cross-folder
// extensions via URL
@ -774,7 +773,6 @@ editor.init = function () {
if (!curConfig.preventURLContentLoading) {
let {source} = urldata;
if (!source) { // urldata.source may have been null if it ended with '='
const {searchParams} = new URL(location);
const src = searchParams.get('source');
if (src && src.startsWith('data:')) {
source = src;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff