1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

broken waypoint, but fixed line numbers with the new JS comments

This commit is contained in:
Jeremy Ashkenas 2009-12-23 19:42:18 -05:00
parent 6555473788
commit 60eabf63cf
14 changed files with 730 additions and 344 deletions

View file

@ -3,11 +3,7 @@
if (student.excellent_work) {
return "A+";
} else if (student.okay_stuff) {
return if (student.tried_hard) {
return "B";
} else {
return "B-";
};
return student.tried_hard ? "B" : "B-";
} else {
return "C";
}