was.js
/trunk/lib/physics/colorimetry.js |
---|
@@ -33,7 +33,7 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
if(typeof variable !== 'undefined') { |
if(typeof module !== 'undefined' && typeof module.exports !== 'undefined') { |
module.exports.physics = { |
HexToRGB: wasHexToRGB, |
RGBToHex: wasRGBToHex |