Skip to content

Instantly share code, notes, and snippets.

@brett-richardson
Created January 29, 2014 22:21
Show Gist options
  • Save brett-richardson/8698342 to your computer and use it in GitHub Desktop.
Save brett-richardson/8698342 to your computer and use it in GitHub Desktop.
class One
test: -> console.log 'test'
class @Two
test: -> console.log 'test'
var One;
One = (function() {
function One() {}
One.prototype.test = function() {
return console.log('test');
};
return One;
})();
this.Two = (function() {
function Two() {}
Two.prototype.test = function() {
return console.log('test');
};
return Two;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment