jbrowse-plugin-msaview 2.6.8 → 2.7.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.
@@ -29,6 +29,11 @@ export default function stateModelFactory() {
29
29
  /**
30
30
  * #property
31
31
  */
32
+ // Plain defaults, not types.stripDefault: that postdates the
33
+ // mobx-state-tree every released core exposes (present only on main), and
34
+ // the missing function throws while this model is being built, which
35
+ // error-pages the whole app rather than just this view. Restore
36
+ // stripDefault once a release ships it.
32
37
  querySeqName: 'QUERY',
33
38
  /**
34
39
  * #property
@@ -37,6 +42,7 @@ export default function stateModelFactory() {
37
42
  /**
38
43
  * #property
39
44
  */
45
+ // see querySeqName above re: types.stripDefault
40
46
  zoomToBaseLevel: false,
41
47
  /**
42
48
  * #property
@@ -138,7 +144,10 @@ export default function stateModelFactory() {
138
144
  * #getter
139
145
  */
140
146
  get connectedHighlights() {
141
- return [this.connectedHoverHighlight, this.connectedClickHighlight].filter((r) => r !== undefined);
147
+ return [
148
+ this.connectedHoverHighlight,
149
+ this.connectedClickHighlight,
150
+ ].filter((r) => r !== undefined);
142
151
  },
143
152
  }))
144
153
  .actions(self => ({