Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Can't run on IE because of keyword. Closes #186
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Aug 19, 2012
1 parent cb29745 commit 23e3a3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [master](https://github.com/cucumber/gherkin/compare/v2.11.2...master)

* [JavaScript] Can't run on IE because of `const` keyword ([#186](https://github.com/cucumber/gherkin/issues/186) Aslak Hellesøy)

## [2.11.2](https://github.com/cucumber/gherkin/compare/v2.11.1...v2.11.2)

* [Java] Depend on an external gherkin-jvm-deps jar with repackaged dependencies (Aslak Hellesøy, Rex Hoffman)
Expand Down
1 change: 1 addition & 0 deletions tasks/ragel_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def define_tasks
# Ragel chokes if we put the escaped triple quotes in .rl, so we'll do the replace with sed after the fact. Lots of backslashes!!
sed = Config::CONFIG['host_os'] =~ /linux/i ? "sed -i" : "sed -i ''"
sh %{#{sed} 's/ESCAPED_TRIPLE_QUOTE/\\\\\\\\\\\\"\\\\\\\\\\\\"\\\\\\\\\\\\"/' #{target}}
sh %{#{sed} 's/const/var/' #{target}}

# Minify
sh %{node #{UGLIFYJS} #{target} > #{min_target}}
Expand Down

0 comments on commit 23e3a3b

Please sign in to comment.