Add three new functions to the Ametys singleton object:
- getObjectByName
- createObjectByName
- executeFnByName
which are helpful to retrieve an object or execute a function (or constructor) when we only have the name of the object as a String.
I attach a possible patch to this issue.
- blocks
-
CMS-4392 [JS Performances] remove all eval
-
- Closed
-
[RUNTIME-895] Adding general JS functions to avoid using eval
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 3.7_LTE [ 11281 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Thibaut Rizzi [ trizzi ] |