Closed englercj closed 11 years ago
Yes, this script was added as proof of concept that should.js can be build without any issues. I will remove this script soon as should.js main target is node.js. You can use this version (i build it for myself). It contains all node dependencies extracted, but it does not use assert module. In any case you can build you own version - all build commands included.
Hmm, I am using it to run browser tests with mocha. Just like mocha has the JS/CSS necessary for running browser tests in the repo I would expect should.js to be the same.
Basically so I can install should
with npm and do:
<script src="../../node_modules/should/should.js"></script>
or something to that effect (which is what mocha lets you do now).
I updated script. Try 2.0.2.
Perfect, thanks!
Looks like there are some differences in the library and browser builds in the latest npm version (specifically a766dc58f56ca5ba2b3a2463e141774006ca43f6).
Anyway you can push an updated browser version to npm?
Thanks!