Files
ohif-viewer/Packages/ohif-core/main.js
T

23 lines
429 B
JavaScript
Raw Normal View History

2016-09-22 18:47:56 -03:00
import { Meteor } from 'meteor/meteor';
/*
* Defines the base OHIF object
*/
2016-07-12 15:37:53 -03:00
const OHIF = {
log: {},
2016-09-22 18:47:56 -03:00
ui: {},
utils: {},
viewer: {},
cornerstone: {},
user: {},
DICOMWeb: {}, // Temporarily added
};
// Expose the OHIF object to the client if it is on development mode
2017-01-16 12:47:29 -02:00
// @TODO: remove this after applying namespace to this package
if (Meteor.isClient) {
window.OHIF = OHIF;
}
export { OHIF };