Ace2Inner: Fix missing spread operator on `args`

This fixes a bug that was introduced in commit
c38c34bef4.
This commit is contained in:
Richard Hansen 2021-02-28 00:15:28 -05:00 committed by John McLear
parent 16e6496eb4
commit 3667f2ca0e
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@
* Fixed a bug in the `dirty` database driver that sometimes caused Node.js to
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

View File

@ -3894,7 +3894,7 @@ function Ace2Inner() {
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
editorInfo.ace_performDocumentApplyAttributesToRange =
(...args) => documentAttributeManager.setAttributesOnRange(args);
(...args) => documentAttributeManager.setAttributesOnRange(...args);
this.init = () => {
$(document).ready(() => {