Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a hardcoded no-op instead of instancing
The use of `new Function()` causes an EvalError if the environment's CSP forbids execution of unsafe-eval. As there's no runtime evaluation being performed, it's better to use a plain anonymous function instead.
- Loading branch information