Closed phated closed 11 years ago
When trying to use this in a Chrome Extension/App, CSP throws an error due to the use of new Function. Would it be possible to use function () {}, instead, to avoid this problem?
new Function
function () {}
Sure thing. new Function was used mostly for historic reasons.
I plan to release 1.0.2 on Sunday. Please use the master branch for now. If you find any problems, please reopen the issue.
When trying to use this in a Chrome Extension/App, CSP throws an error due to the use of
new Function
. Would it be possible to usefunction () {}
, instead, to avoid this problem?