Commit 8566404
committed
fix coffeescript syntax for future versions
CoffeeScript source is currently pinned to 1.6.2 but these two
files will have syntax errors if/when coffeescript is upgraded
to >=1.7.0
To demonstrate the syntax errors, temporarily modify `Gemfile.d/development_and_test.rb`
to use `1.7.0` for `coffee-script-source`, bundle update, and
recompile assets.
These are the only 2 errors and will work with coffeescript 1.10 as well.
Test Plan
- There should be no change. I did not see if this code is currently covered by a test case.
This is a low-priority PR. I needed to track down these two
problems to use a gem which required a higher version of coffee-script.1 parent 149b91b commit 8566404
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
0 commit comments