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.
@@ -1913,20 +1913,20 @@ class $9adf8bc2f1ba310f$export$8cfef5dc37c46888 {
1913
1913
  }
1914
1914
  _dispatch(type, data, event, scope) {
1915
1915
  return $9adf8bc2f1ba310f$var$__awaiter(this, void 0, void 0, function*() {
1916
- try {
1917
- if (!scope) {
1916
+ if (!scope) {
1917
+ try {
1918
1918
  yield this.dispatcher({
1919
1919
  type: type,
1920
1920
  data: data,
1921
1921
  event: event
1922
1922
  }, this.state, this.dispatch);
1923
- this.update();
1923
+ } catch (e) {
1924
+ $9adf8bc2f1ba310f$var$error(this.name, $9adf8bc2f1ba310f$var$msgDispatch, e);
1924
1925
  }
1925
- scope === "element" && this._dispatchElement(type, data);
1926
- scope === "window" && this._dispatchWindow(type, data);
1927
- } catch (e) {
1928
- $9adf8bc2f1ba310f$var$error(this.name, $9adf8bc2f1ba310f$var$msgDispatch, e);
1926
+ this.update();
1929
1927
  }
1928
+ scope === "element" && this._dispatchElement(type, data);
1929
+ scope === "window" && this._dispatchWindow(type, data);
1930
1930
  });
1931
1931
  }
1932
1932
  _dispatchElement(type, data) {