Skip to content

Commit

Permalink
Preferred closure storage for initQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerdinacan committed Feb 8, 2019
1 parent 67fed35 commit d3af1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/onload/initQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { BehaviorSubject } from "rxjs";
import { filter } from "rxjs/operators";

const queue = (window._initQueue = new BehaviorSubject([]));
const queue = new BehaviorSubject([]);

// don't emit unless there are things to initialize
export const initializations$ = queue.pipe(filter(list => list.length > 0));
Expand Down

0 comments on commit d3af1a0

Please sign in to comment.