camunda-bpmn-js 4.0.0 → 4.1.1

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.
@@ -8232,8 +8232,7 @@
8232
8232
  } else {
8233
8233
  return [];
8234
8234
  }
8235
- } else
8236
- if (search.type) {
8235
+ } else if (search.type) {
8237
8236
  return filter(this._overlays, matchPattern({ type: search.type }));
8238
8237
  } else {
8239
8238
 
@@ -13928,8 +13927,7 @@
13928
13927
 
13929
13928
  // update positioning
13930
13929
  translate$1(gfx, element.x, element.y);
13931
- } else
13932
- if (type === 'connection') {
13930
+ } else if (type === 'connection') {
13933
13931
  this.drawConnection(visual, element);
13934
13932
  } else {
13935
13933
  throw new Error('unknown type: ' + type);
@@ -8207,8 +8207,7 @@
8207
8207
  } else {
8208
8208
  return [];
8209
8209
  }
8210
- } else
8211
- if (search.type) {
8210
+ } else if (search.type) {
8212
8211
  return filter(this._overlays, matchPattern({ type: search.type }));
8213
8212
  } else {
8214
8213
 
@@ -13903,8 +13902,7 @@
13903
13902
 
13904
13903
  // update positioning
13905
13904
  translate$1(gfx, element.x, element.y);
13906
- } else
13907
- if (type === 'connection') {
13905
+ } else if (type === 'connection') {
13908
13906
  this.drawConnection(visual, element);
13909
13907
  } else {
13910
13908
  throw new Error('unknown type: ' + type);