Created
May 29, 2013 03:03
-
-
Save ELLIOTTCABLE/5667693 to your computer and use it in GitHub Desktop.
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
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