Import fixes necessary for client-only builds

This commit is contained in:
Erik Ziegler 2016-08-31 22:08:42 +02:00
parent 486a7b30ed
commit a47ecf0aac
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Package.onUse(function(api) {
// Component's library dependencies
api.use('natestrauser:select2@4.0.1', 'client');
api.use('aldeed:simple-schema');
// UI Styles
api.addFiles([

View File

@ -1,3 +1,5 @@
import { OHIF } from 'meteor/ohif:core';
getActiveViewportElement = function() {
var viewportIndex = Session.get("activeViewport") || 0;
return $('.imageViewerViewport').get(viewportIndex);