22 lines
375 B
JavaScript
22 lines
375 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
|
|
/*
|
|
* Defines the base OHIF object
|
|
*/
|
|
|
|
const OHIF = {
|
|
log: {},
|
|
ui: {},
|
|
utils: {},
|
|
viewer: {},
|
|
cornerstone: {}
|
|
};
|
|
|
|
// Expose the OHIF object to the client if it is on development mode
|
|
// @TODO: remove this after applying namespace to this package
|
|
if (Meteor.isClient) {
|
|
window.OHIF = OHIF;
|
|
}
|
|
|
|
export { OHIF };
|