Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created May 29, 2013 03:03
Show Gist options
  • Save ELLIOTTCABLE/5667693 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/5667693 to your computer and use it in GitHub Desktop.
Klass = (function() {
function Klass() {
_ref = _class.apply(this, arguments);
return _ref;
}
_class = constructify(function() {});
return Klass;
})();
expect(new Klass).to.be.a(Klass);
return expect(Klass()).to.be.a(Klass);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment