Replacing SVG polyfill to fix event issues

This commit is contained in:
Bruno Alves de Faria committed 2017-09-05 20:53:20 -03:00
1 parent 233d12c481
commit b6b3a443a2
9 files changed
+24 -30

No files matched your search

@@ -0,0 +1,7 @@
/* jshint -W060 */
import absoluteUrl from './absoluteUrl';
export default function(fileName) {
const src = absoluteUrl(`/packages/ohif_polyfill/public/js/${fileName}`);
document.write(`<script src="${src}"><\/script>`);
}