Add new sjcl export for code coverage convenience

This commit is contained in:
wltsmrz
2013-09-10 17:13:55 -07:00
parent 3f2afdc39d
commit 40eccdb2fd
15 changed files with 47 additions and 33 deletions

View File

@@ -140,5 +140,13 @@ exports.logObject = logObject;
exports.assert = assert;
exports.arrayUnique = arrayUnique;
exports.toTimestamp = toTimestamp;
exports.sjcl = (function() {
try {
var sjcl = require('../../../build/sjcl');
} catch(e) {
var sjcl = require('../build/sjcl');
}
return sjcl;
})();
// vim:sw=2:sts=2:ts=8:et