Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix non ES5 compliant regexp #577
ES5 appears to require that
Please find attached a simple Duktape-powered C file that tries to parse the given argument file.
Compile and run using:
When choking it produces a:
added a commit
this pull request
Dec 23, 2015
Thanks @keithamus !
As for tests, I was also not sure of what could be done, maybe a script that depend on execjs (https://github.com/rails/execjs) or duktape.rb (https://github.com/judofyr/duktape.rb) could be launched by your travis ? It would enable to check correct parsing under a few JS runtime without directly depending on them in the project.