Skip to content

Instantly share code, notes, and snippets.

@yagitoshiro
Created September 20, 2011 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yagitoshiro/1228967 to your computer and use it in GitHub Desktop.
Save yagitoshiro/1228967 to your computer and use it in GitHub Desktop.
coffee script sample testing...
//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