-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of const keyword #78
Comments
Thank you @Sledgebox. It's a Gherkin issue. It's been reported. |
Fixed on Gherkin. We need a Gherkin release now :) |
Gherkin 2.11.3 breaks cucumber.js. Investigating. |
That's not good. |
Ok, |
To reproduce in gherkin proper: |
@aslakhellesoy Looks like https://github.com/cucumber/gherkin/blob/master/js/lib/gherkin.js#L5 is not correct anymore. Lexer modules do not export any Another problem is that the listener object passed to gherkin is explicitely checked for the presence of all event handlers, including I'm fixing the latter and I worked around the former by directly requiring |
@aslakhellesoy BTW, when you want to run cucumber.js's tests, please invoke |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Use of the const keyword as in the following does not work in IE. The demo page does not work in IE because of this. Couldn't the browser version of this have use of const replaced with var?
const _lexer_actions = [ ...
The text was updated successfully, but these errors were encountered: