Created
October 11, 2011 11:39
-
-
Save melvynhills/1277877 to your computer and use it in GitHub Desktop.
CoffeeScript Compilation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HelloCoffeeTest | |
@testMain: -> | |
console.log "Hello, CoffeeScripter!" | |
HelloCoffeeTest.testMain() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HelloCoffeeTest; | |
HelloCoffeeTest = (function() { | |
function HelloCoffeeTest() {} | |
HelloCoffeeTest.testMain = function() { | |
return console.log("Hello, CoffeeScripter!"); | |
}; | |
return HelloCoffeeTest; | |
})(); | |
HelloCoffeeTest.testMain(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment