Attempt to fix missing cornerstoneMath issue
This commit is contained in:
parent
6096dc6892
commit
65c7bbdcc3
@ -3,12 +3,16 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import cornerstone from 'cornerstone-core';
|
||||
import cornerstoneTools from 'cornerstone-tools';
|
||||
import cornerstoneMath from "cornerstone-math";
|
||||
import { OHIF } from 'ohif-core';
|
||||
import ConnectedCornerstoneViewport from './ConnectedCornerstoneViewport.js';
|
||||
import ConnectedLayoutManager from './ConnectedLayoutManager.js';
|
||||
import StackManager from '../lib/StackManager.js';
|
||||
import './ViewerMain.css';
|
||||
|
||||
// Attempt to fix weird undefined dep issue
|
||||
cornerstoneTools.external.cornerstoneMath = cornerstoneMath;
|
||||
|
||||
//const { StudyLoadingListener, StudyPrefetcher, ResizeViewportManager } = OHIF.classes;
|
||||
|
||||
|
||||
|
||||
@ -9,6 +9,8 @@ import sha from './sha.js';
|
||||
import version from './version.js';
|
||||
import { homepage } from '../package.json';
|
||||
|
||||
console.warn('cornerstoneMath');
|
||||
console.warn(cornerstoneMath)
|
||||
window.info = {
|
||||
sha,
|
||||
version,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user