Created
October 7, 2013 13:36
-
-
Save tkareine/6868137 to your computer and use it in GitHub Desktop.
Missing `then` in `if` expr should cause parsing error in CoffeeScript. Using CoffeeScript 1.6.3 (rev 581af4540ac).
This file contains hidden or 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
value = if this.require 'aa' else 'bb' # missing `then` in `if` expr |
This file contains hidden or 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
// Generated by CoffeeScript 1.6.3 | |
(function() { | |
var value; | |
value = this.require('aa') ? void 0 : 'bb'; | |
}).call(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment