2016-09-22 23:47:56 +02:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
|
2016-08-03 16:13:48 +02:00
|
|
|
/*
|
|
|
|
|
* Defines the base OHIF object
|
|
|
|
|
*/
|
2016-07-12 20:37:53 +02:00
|
|
|
|
2016-09-20 17:23:57 +02:00
|
|
|
const OHIF = {
|
2016-09-20 22:47:44 +02:00
|
|
|
log: {},
|
2016-09-22 23:47:56 +02:00
|
|
|
ui: {},
|
2016-09-26 13:34:26 +02:00
|
|
|
viewer: {}
|
2016-09-20 17:23:57 +02:00
|
|
|
};
|
2016-07-25 22:19:47 +02:00
|
|
|
|
2016-08-03 16:13:48 +02:00
|
|
|
// Expose the OHIF object to the client if it is on development mode
|
|
|
|
|
if (Meteor.isDevelopment && Meteor.isClient) {
|
|
|
|
|
window.OHIF = OHIF;
|
|
|
|
|
}
|
2016-07-25 22:19:47 +02:00
|
|
|
|
2016-08-03 16:13:48 +02:00
|
|
|
export { OHIF };
|