Skip to content

Commit

Permalink
Use existing format with empty destination object
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Mar 23, 2021
1 parent 29b107c commit a5a7eeb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
* umbAceEditorConfig merged with user options via json in attribute or data binding
* @type object
*/
var opts = Utilities.extend(options, scope.umbAceEditor);
var opts = Utilities.extend({}, options, scope.umbAceEditor);

//load ace libraries here...

Expand Down Expand Up @@ -272,7 +272,7 @@
return;
}

opts = Utilities.extend(options, scope.umbAceEditor);
opts = Utilities.extend({}, options, scope.umbAceEditor);

opts.callbacks = [opts.onLoad];
if (opts.onLoad !== options.onLoad) {
Expand Down

0 comments on commit a5a7eeb

Please sign in to comment.