-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New version 3.16.3. Read more https://github.com/xdan/jodit/blob/mast…
- Loading branch information
Showing
14 changed files
with
71 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -5384,7 +5384,7 @@ function hook(status) { | |
throw (0,error/* error */.v)('Handler must be a Function'); | ||
} | ||
target.hookStatus(status, (component) => { | ||
target[propertyKey].call(component); | ||
component[propertyKey].call(component); | ||
}); | ||
}; | ||
} | ||
|
@@ -5446,7 +5446,8 @@ function persistent(target, propertyKey) { | |
|
||
function wait(condition) { | ||
return (target, propertyKey) => { | ||
if (!(0,helpers.isFunction)(target[propertyKey])) { | ||
const fn = target[propertyKey]; | ||
if (!(0,helpers.isFunction)(fn)) { | ||
throw (0,helpers.error)('Handler must be a Function'); | ||
} | ||
target.hookStatus(core_component/* STATUSES.ready */.n$.ready, (component) => { | ||
|
@@ -5455,15 +5456,18 @@ function wait(condition) { | |
: component.j.async; | ||
const realMethod = component[propertyKey]; | ||
let timeout = 0; | ||
component[propertyKey] = function callProxy(...args) { | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(() => callProxy(...args), 10); | ||
Object.defineProperty(component, propertyKey, { | ||
configurable: true, | ||
value: function callProxy(...args) { | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(() => callProxy(...args), 10); | ||
} | ||
} | ||
}; | ||
}); | ||
}); | ||
}; | ||
} | ||
|
@@ -11754,7 +11758,7 @@ class View extends component/* Component */.wA { | |
this.isView = true; | ||
this.mods = {}; | ||
this.components = new Set(); | ||
this.version = "3.16.2"; | ||
this.version = "3.16.3"; | ||
this.async = new Async(); | ||
this.buffer = Storage.makeStorage(); | ||
this.storage = Storage.makeStorage(true, this.componentName); | ||
|
@@ -11852,10 +11856,10 @@ class View extends component/* Component */.wA { | |
return this.__isFullSize; | ||
} | ||
getVersion() { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
} | ||
static getVersion() { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
} | ||
initOptions(options) { | ||
this.options = (0,helpers.ConfigProto)(options || {}, (0,helpers.ConfigProto)(this.options || {}, View.defaultOptions)); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -5384,7 +5384,7 @@ function hook(status) { | |
throw (0,error/* error */.v)('Handler must be a Function'); | ||
} | ||
target.hookStatus(status, (component) => { | ||
target[propertyKey].call(component); | ||
component[propertyKey].call(component); | ||
}); | ||
}; | ||
} | ||
|
@@ -5446,7 +5446,8 @@ function persistent(target, propertyKey) { | |
|
||
function wait(condition) { | ||
return (target, propertyKey) => { | ||
if (!(0,helpers.isFunction)(target[propertyKey])) { | ||
const fn = target[propertyKey]; | ||
if (!(0,helpers.isFunction)(fn)) { | ||
throw (0,helpers.error)('Handler must be a Function'); | ||
} | ||
target.hookStatus(core_component/* STATUSES.ready */.n$.ready, (component) => { | ||
|
@@ -5455,15 +5456,18 @@ function wait(condition) { | |
: component.j.async; | ||
const realMethod = component[propertyKey]; | ||
let timeout = 0; | ||
component[propertyKey] = function callProxy(...args) { | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(() => callProxy(...args), 10); | ||
Object.defineProperty(component, propertyKey, { | ||
configurable: true, | ||
value: function callProxy(...args) { | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(() => callProxy(...args), 10); | ||
} | ||
} | ||
}; | ||
}); | ||
}); | ||
}; | ||
} | ||
|
@@ -15987,7 +15991,7 @@ class View extends component/* Component */.wA { | |
this.isView = true; | ||
this.mods = {}; | ||
this.components = new Set(); | ||
this.version = "3.16.2"; | ||
this.version = "3.16.3"; | ||
this.async = new Async(); | ||
this.buffer = Storage.makeStorage(); | ||
this.storage = Storage.makeStorage(true, this.componentName); | ||
|
@@ -16085,10 +16089,10 @@ class View extends component/* Component */.wA { | |
return this.__isFullSize; | ||
} | ||
getVersion() { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
} | ||
static getVersion() { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
} | ||
initOptions(options) { | ||
this.options = (0,helpers.ConfigProto)(options || {}, (0,helpers.ConfigProto)(this.options || {}, View.defaultOptions)); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
@@ -9948,7 +9948,7 @@ function hook(status) { | |
throw (0, error_1.error)('Handler must be a Function'); | ||
} | ||
target.hookStatus(status, function (component) { | ||
target[propertyKey].call(component); | ||
component[propertyKey].call(component); | ||
}); | ||
}; | ||
} | ||
|
@@ -10038,7 +10038,8 @@ var helpers_1 = __webpack_require__(146); | |
var component_1 = __webpack_require__(154); | ||
function wait(condition) { | ||
return function (target, propertyKey) { | ||
if (!(0, helpers_1.isFunction)(target[propertyKey])) { | ||
var fn = target[propertyKey]; | ||
if (!(0, helpers_1.isFunction)(fn)) { | ||
throw (0, helpers_1.error)('Handler must be a Function'); | ||
} | ||
target.hookStatus(component_1.STATUSES.ready, function (component) { | ||
|
@@ -10047,19 +10048,22 @@ function wait(condition) { | |
: component.j.async; | ||
var realMethod = component[propertyKey]; | ||
var timeout = 0; | ||
component[propertyKey] = function callProxy() { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(function () { return callProxy.apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(args), false)); }, 10); | ||
Object.defineProperty(component, propertyKey, { | ||
configurable: true, | ||
value: function callProxy() { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
async.clearTimeout(timeout); | ||
if (condition(component)) { | ||
realMethod.apply(component, args); | ||
} | ||
else { | ||
timeout = async.setTimeout(function () { return callProxy.apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(args), false)); }, 10); | ||
} | ||
} | ||
}; | ||
}); | ||
}); | ||
}; | ||
} | ||
|
@@ -16303,7 +16307,7 @@ var View = (function (_super) { | |
_this.isView = true; | ||
_this.mods = {}; | ||
_this.components = new Set(); | ||
_this.version = "3.16.2"; | ||
_this.version = "3.16.3"; | ||
_this.async = new async_1.Async(); | ||
_this.buffer = storage_1.Storage.makeStorage(); | ||
_this.storage = storage_1.Storage.makeStorage(true, _this.componentName); | ||
|
@@ -16450,10 +16454,10 @@ var View = (function (_super) { | |
configurable: true | ||
}); | ||
View.prototype.getVersion = function () { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
}; | ||
View.getVersion = function () { | ||
return "3.16.2"; | ||
return "3.16.3"; | ||
}; | ||
View.prototype.initOptions = function (options) { | ||
this.options = (0, helpers_1.ConfigProto)(options || {}, (0, helpers_1.ConfigProto)(this.options || {}, View.defaultOptions)); | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*! | ||
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser | ||
* Author: Chupurnov <[email protected]> (https://xdsoft.net/) | ||
* Version: v3.16.2 | ||
* Version: v3.16.3 | ||
* Url: https://xdsoft.net/jodit/ | ||
* License(s): MIT | ||
*/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters