JSBN and coverage tests cleanup.

Fixes compiler warning about SJCL.
Fixes coverage source highlighting issue.
Move JSBN outside of src/js/jsbn/.
This commit is contained in:
Stefan Thomas
2013-09-21 05:41:19 -07:00
parent 0986b37267
commit 64df821b38
16 changed files with 88 additions and 97 deletions

View File

@@ -141,10 +141,9 @@ exports.assert = assert;
exports.arrayUnique = arrayUnique;
exports.toTimestamp = toTimestamp;
try {
exports.sjcl = require('../build/sjcl');
} catch(e) {
exports.sjcl = require('../../../build/sjcl');
}
// Going up three levels is needed to escape the src-cov folder used for the
// test coverage stuff.
exports.sjcl = require('../../../build/sjcl');
exports.jsbn = require('../../../src/js/jsbn/jsbn');
// vim:sw=2:sts=2:ts=8:et