all files / src/ registerLoaders.js

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2
1 2 3 4 5 6 7 8               
import { loadImage } from './loadImage.js';
 
export default function (cornerstone) {
  // Register the http and https prefixes so we can use standard web urls directly
  cornerstone.registerImageLoader('http', loadImage);
  cornerstone.registerImageLoader('https', loadImage);
}