feat(plugins): Add pluginData to viewportData so that plugins can manage their own data
This commit is contained in:
1 parent
f6b82baae3
commit
ddbe8b38aa
3 files changed
+11
-6
No files matched your search
@@ -43,7 +43,9 @@ export class OHIFPlugin {
|
||||
scriptURL += "?" + performance.now();
|
||||
}
|
||||
|
||||
this.loadScript(scriptURL).onload = function() {
|
||||
const type = plugin.module === true ? 'module' : 'text/javascript'
|
||||
|
||||
this.loadScript(scriptURL, type).onload = function() {
|
||||
const entryPointFunction = OHIF.plugins.entryPoints[plugin.name];
|
||||
|
||||
if (entryPointFunction) {
|
||||
|
||||
Reference in new issue
Block a user