diff --git a/lib/radisk3.js b/lib/radisk3.js index fad94c45..10028c38 100644 --- a/lib/radisk3.js +++ b/lib/radisk3.js @@ -106,7 +106,9 @@ function fname(p){ return opt.file+'/'+ename(p.substring()) } var opt = {}; opt.file = String(opt.file || 'radata'); - + +try{module.exports=RAD}catch(e){} + // junk below that needs to be cleaned up and corrected for the actual correct RAD API. var env = {}, nope = function(){}, nah = function(){ return nope }, u; env.require = (typeof require !== ''+u && require) || nope;