PWV-3: Creating ohif:log package and partially refactoring ohif:measurements
This commit is contained in:
1 parent
f3f32518c6
commit
60aa1d0982
76 files changed
+410
-479
No files matched your search
@@ -0,0 +1,24 @@
|
||||
// TODO: stop exposing the libraries below and start using imports
|
||||
|
||||
import { cornerstone } from './client/cornerstone.js';
|
||||
import { dicomParser } from './client/dicomParser.js';
|
||||
import { cornerstoneMath } from './client/cornerstoneMath.js';
|
||||
import { cornerstoneTools } from './client/cornerstoneTools.js';
|
||||
import { cornerstoneWADOImageLoader } from './client/cornerstoneWADOImageLoader.js';
|
||||
|
||||
// Expose the cornerstone objects to the client if it is on development mode
|
||||
if (Meteor.isDevelopment) {
|
||||
window.cornerstone = cornerstone;
|
||||
window.cornerstoneMath = cornerstoneMath;
|
||||
window.cornerstoneTools = cornerstoneTools;
|
||||
window.cornerstoneWADOImageLoader = cornerstoneWADOImageLoader;
|
||||
window.dicomParser = dicomParser;
|
||||
}
|
||||
|
||||
export {
|
||||
cornerstone,
|
||||
cornerstoneMath,
|
||||
cornerstoneTools,
|
||||
cornerstoneWADOImageLoader,
|
||||
dicomParser
|
||||
};
|
||||
@@ -41,5 +41,5 @@ Package.onUse(function(api) {
|
||||
api.export('cornerstoneMath', 'client');
|
||||
api.export('cornerstoneTools', 'client');
|
||||
api.export('cornerstoneWADOImageLoader', 'client');
|
||||
api.export('dicomParser', ['client', 'server']);
|
||||
});
|
||||
api.export('dicomParser', 'client');
|
||||
});
|
||||
Reference in new issue
Block a user