@jbrowse/product-core 3.1.0 → 3.3.0

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.
@@ -22,9 +22,9 @@ function TracksManagerSessionMixin(pluginManager) {
22
22
  const dereferenceTypeCount = {};
23
23
  const referring = self.getReferring(trackConf);
24
24
  self.removeReferring(referring, trackConf, callbacksToDereferenceTrack, dereferenceTypeCount);
25
- callbacksToDereferenceTrack.forEach(cb => {
25
+ for (const cb of callbacksToDereferenceTrack) {
26
26
  cb();
27
- });
27
+ }
28
28
  if (self.adminMode) {
29
29
  return self.jbrowse.deleteTrackConf(trackConf);
30
30
  }
@@ -67,7 +67,9 @@ export function InternetAccountsRootModelMixin(pluginManager) {
67
67
  afterCreate() {
68
68
  addDisposer(self, autorun(() => {
69
69
  const { jbrowse } = self;
70
- jbrowse.internetAccounts.forEach(self.initializeInternetAccount);
70
+ for (const internetAccount of jbrowse.internetAccounts) {
71
+ self.initializeInternetAccount(internetAccount);
72
+ }
71
73
  }));
72
74
  },
73
75
  }));
@@ -46,9 +46,9 @@ export function ConnectionManagementSessionMixin(pluginManager) {
46
46
  }
47
47
  return [
48
48
  () => {
49
- callbacksToDeref.forEach(cb => {
49
+ for (const cb of callbacksToDeref) {
50
50
  cb();
51
- });
51
+ }
52
52
  this.breakConnection(configuration);
53
53
  },
54
54
  derefTypeCount,