Created
September 20, 2011 12:25
-
-
Save yagitoshiro/1228967 to your computer and use it in GitHub Desktop.
coffee script sample testing...
This file contains 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
//app.js | |
(function() { | |
var person, syrup; | |
syrup = require('syrup'); | |
syrup.include('/model/entity'); | |
syrup.include('/model/person'); | |
person = new MYAPP.Model.Person('Coffee syrup'); | |
person.sayHello(); | |
}).call(this); | |
//app.coffee | |
syrup = require 'syrup' | |
syrup.include '/model/entity' | |
syrup.include '/model/person' | |
person = new MYAPP.Model.Person 'Coffee syrup' | |
person.sayHello() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment