Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 418 Bytes

hello_coffee.md

File metadata and controls

44 lines (30 loc) · 418 Bytes

CoffeeScript

http://coffeescript.org/

@mycoffee.js

elvis = 1
alert "I knew it!" if elvis?

square = (x) -> x * x

PythonJS

@mypython.js

#backend:javascript

def main():
	alert( square(420) )

main()

HTML

The output of both transpilers is inserted into the final html

@index.html

<html>
<body>
<@mycoffee.js>
<@mypython.js>
</body>
</html>