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

rebuilt the site with some IE fixes.

This commit is contained in:
Jeremy Ashkenas 2010-09-27 15:21:45 -04:00
parent 3c848736a7
commit e3ec325619
7 changed files with 55 additions and 83 deletions

View file

@ -1,11 +1,5 @@
var eldest, grade;
grade = function(student) {
if (student.excellentWork) {
return "A+";
} else if (student.okayStuff) {
return student.triedHard ? "B" : "B-";
} else {
return "C";
}
return student.excellentWork ? "A+" : (student.okayStuff ? (student.triedHard ? "B" : "B-") : "C");
};
eldest = 24 > 21 ? "Liz" : "Ike";