mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Add CoffeeScript converter.
This commit is contained in:
10
test/source/js/coffeescript.coffee
Normal file
10
test/source/js/coffeescript.coffee
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
---
|
||||
|
||||
$ ->
|
||||
list = [1, 2, 3, 4, 5]
|
||||
square = (x) -> x * x
|
||||
cube = (x) -> square(x) * x
|
||||
cubes = (math.cube num for num in list)
|
||||
|
||||
alert "I knew it!" if elvis?
|
||||
Reference in New Issue
Block a user