jqtree 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*
2
- JqTree 2.0.0
2
+ JqTree 2.0.2
3
3
 
4
4
  Copyright 2026 Marco Braak
5
5
 
@@ -4238,7 +4238,7 @@ var jqtree = (function (exports) {
4238
4238
  return !event.isDefaultPrevented();
4239
4239
  };
4240
4240
 
4241
- const version = "2.0.0";
4241
+ const version = "2.0.2";
4242
4242
 
4243
4243
  const NODE_PARAM_IS_EMPTY = "Node parameter is empty";
4244
4244
  const PARAM_IS_EMPTY = "Parameter is empty: ";
@@ -4516,9 +4516,13 @@ var jqtree = (function (exports) {
4516
4516
  const jqTreeOnLoadFailed = this._inputOptions.onLoadFailed;
4517
4517
  if (jqTreeOnLoadFailed) {
4518
4518
  const {
4519
+ error,
4519
4520
  response
4520
4521
  } = e;
4521
- jqTreeOnLoadFailed(response);
4522
+ jqTreeOnLoadFailed({
4523
+ error,
4524
+ response
4525
+ });
4522
4526
  }
4523
4527
  }
4524
4528
  _handleLoadingDataEvent(e) {