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:
parent
3c848736a7
commit
e3ec325619
7 changed files with 55 additions and 83 deletions
|
@ -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";
|
Loading…
Add table
Add a link
Reference in a new issue