peryl 1.5.13 → 1.5.14

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.
@@ -1052,20 +1052,20 @@ class $9adf8bc2f1ba310f$export$8cfef5dc37c46888 {
1052
1052
  }
1053
1053
  _dispatch(type, data, event, scope) {
1054
1054
  return $9adf8bc2f1ba310f$var$__awaiter(this, void 0, void 0, function*() {
1055
- try {
1056
- if (!scope) {
1055
+ if (!scope) {
1056
+ try {
1057
1057
  yield this.dispatcher({
1058
1058
  type: type,
1059
1059
  data: data,
1060
1060
  event: event
1061
1061
  }, this.state, this.dispatch);
1062
- this.update();
1062
+ } catch (e) {
1063
+ $9adf8bc2f1ba310f$var$error(this.name, $9adf8bc2f1ba310f$var$msgDispatch, e);
1063
1064
  }
1064
- scope === "element" && this._dispatchElement(type, data);
1065
- scope === "window" && this._dispatchWindow(type, data);
1066
- } catch (e) {
1067
- $9adf8bc2f1ba310f$var$error(this.name, $9adf8bc2f1ba310f$var$msgDispatch, e);
1065
+ this.update();
1068
1066
  }
1067
+ scope === "element" && this._dispatchElement(type, data);
1068
+ scope === "window" && this._dispatchWindow(type, data);
1069
1069
  });
1070
1070
  }
1071
1071
  _dispatchElement(type, data) {