export sjcl for commonjs compliant environments

This commit is contained in:
E.Azer Koçulu 2011-11-20 21:39:58 -08:00
parent 3fddb9e668
commit caaf800931
2 changed files with 5 additions and 0 deletions

View file

@ -67,3 +67,7 @@ var sjcl = {
}
}
};
if(typeof module != 'undefined' && module.exports){
module.exports = sjcl;
}