I’m working with MIQA and it uses a proxyManager
to load a medical scan and it can show multiple views of the same scan.
Now I’m trying to do something slightly different - I want to load three separate medical scans side-by-side. So I created three proxyManager
s and each proxyManager
loads a separate scan.
It works fine for the default proxyManager
but the other two proxyManager
s aren’t working correctly (which I’ve creatively named proxyManager2
and proxyManager3
).
The problem seems to be when I attempt to use getRepresentation()
at which time I get the following error:
TypeError: ‘caller’, ‘callee’, and ‘arguments’ properties may not be accessed on strict mode functions or the arguments objects for calls to them
My questions are:
- Am I using
proxyManager
appropriately, if not, how is a better practice? - If I am using it appropriately, any thoughts on why this error is occurring?
Full Error:
TypeError: ‘caller’, ‘callee’, and ‘arguments’ properties may not be accessed on strict mode functions or the arguments objects for calls to them
at Function.invokeGetter (:3:28)
at VueComponent.representation (webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/VtkViewer.vue?vue&type=script&lang=ts&:42:38)
at Watcher.get (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4489:25)
at Watcher.evaluate (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4591:21)
at VueComponent.computedGetter [as representation] (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4843:17)
at VueComponent.sliceDomain (webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/VtkViewer.vue?vue&type=script&lang=ts&:51:17)
at Watcher.get (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4489:25)
at Watcher.evaluate (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4591:21)
at VueComponent.computedGetter [as sliceDomain] (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4843:17)
at processComputed (chrome-extension://nhdogjmejiglipccpnnnanhbledajbpd/build/backend.js:4226:24)