Ace2Inner: Fix missing spread operator on `args`
This fixes a bug that was introduced in commit
c38c34bef4
.
pull/4889/head
parent
16e6496eb4
commit
3667f2ca0e
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
* Fixed a bug in the `dirty` database driver that sometimes caused Node.js to
|
* Fixed a bug in the `dirty` database driver that sometimes caused Node.js to
|
||||||
crash during shutdown and lose buffered database writes.
|
crash during shutdown and lose buffered database writes.
|
||||||
|
* Fixed a regression in v1.8.8 that caused "Uncaught TypeError: Cannot read
|
||||||
|
property '0' of undefined" with some plugins (#4885)
|
||||||
|
|
||||||
# 1.8.11
|
# 1.8.11
|
||||||
|
|
||||||
|
|
|
@ -3894,7 +3894,7 @@ function Ace2Inner() {
|
||||||
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
|
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
|
||||||
|
|
||||||
editorInfo.ace_performDocumentApplyAttributesToRange =
|
editorInfo.ace_performDocumentApplyAttributesToRange =
|
||||||
(...args) => documentAttributeManager.setAttributesOnRange(args);
|
(...args) => documentAttributeManager.setAttributesOnRange(...args);
|
||||||
|
|
||||||
this.init = () => {
|
this.init = () => {
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
|
|
Loading…
Reference in New Issue