update inbox list
This commit is contained in:
13
vendor/scrivo/highlight.php/test/detect/coffeescript/default.txt
vendored
Normal file
13
vendor/scrivo/highlight.php/test/detect/coffeescript/default.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
grade = (student, period=(if b? then 7 else 6)) ->
|
||||
if student.excellentWork
|
||||
"A+"
|
||||
else if student.okayStuff
|
||||
if student.triedHard then "B" else "B-"
|
||||
else
|
||||
"C"
|
||||
|
||||
class Animal extends Being
|
||||
constructor: (@name) ->
|
||||
|
||||
move: (meters) ->
|
||||
alert @name + " moved #{meters}m."
|
||||
Reference in New Issue
Block a user