Import fixes necessary for client-only builds
This commit is contained in:
parent
486a7b30ed
commit
a47ecf0aac
@ -20,6 +20,7 @@ Package.onUse(function(api) {
|
|||||||
|
|
||||||
// Component's library dependencies
|
// Component's library dependencies
|
||||||
api.use('natestrauser:select2@4.0.1', 'client');
|
api.use('natestrauser:select2@4.0.1', 'client');
|
||||||
|
api.use('aldeed:simple-schema');
|
||||||
|
|
||||||
// UI Styles
|
// UI Styles
|
||||||
api.addFiles([
|
api.addFiles([
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
import { OHIF } from 'meteor/ohif:core';
|
||||||
|
|
||||||
getActiveViewportElement = function() {
|
getActiveViewportElement = function() {
|
||||||
var viewportIndex = Session.get("activeViewport") || 0;
|
var viewportIndex = Session.get("activeViewport") || 0;
|
||||||
return $('.imageViewerViewport').get(viewportIndex);
|
return $('.imageViewerViewport').get(viewportIndex);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user