wip on react transition 8

This commit is contained in:
Erik Ziegler committed 2018-12-03 18:11:39 +01:00
1 parent 9ae5dd25ce
commit 71b49e6766
35 files changed
+818 -470

No files matched your search

@@ -5,6 +5,13 @@ import { Router } from 'meteor/clinical:router';
import { ReactiveVar } from 'meteor/reactive-var';
import { OHIF } from 'meteor/ohif:core';
import { createStore } from 'redux';
const store = createStore(OHIF.viewerbase.redux.combinedReducer);
// TODO[react] Use a provider when the whole tree is React
window.store = store;
Template.ohifViewer.onCreated(() => {
const instance = Template.instance();
instance.headerClasses = new ReactiveVar('');