On Github johnbender / presentation-template
grade = (student) ->
if student.excellentWork
"A+"
else if student.okayStuff
if student.triedHard then "B" else "B-"
else
"C"
eldest = if 24 > 21 then "Liz" else "Ike"
square = (x) -> x * x
two = -> 2
// Current jQuery.fn.removeAttr
jQuery.fn.removeAttr = function( name ) {
return this.each(function() {
jQuery.removeAttr( this, name );
});
};