Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try evaling js code client-side both with and without parentheses (#332)
* Try evaling jsHook verbatim. If that fails, try evaling in parentheses. Fixes #329 * throw existing error object rather than creating new ones * tweak documentation of jsCode parameter * if second try at eval is SyntaxError, then throw original error * wrap eval strategy in a reusable function and leverage in evaluateStringMember * update news; better comment; roxygenize
- Loading branch information
Showing
7 changed files
with
44 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.