was.js – Diff between revs 34 and 41

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 34 Rev 41
Line 31... Line 31...
31 } 31 }
Line 32... Line 32...
32   32  
33 /*************************************************************************/ 33 /*************************************************************************/
34 /* Node.JS package export. */ 34 /* Node.JS package export. */
35 /*************************************************************************/ 35 /*************************************************************************/
36 if(typeof variable !== 'undefined') { 36 if(typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
37 module.exports.physics = { 37 module.exports.physics = {
38 HexToRGB: wasHexToRGB, 38 HexToRGB: wasHexToRGB,
39 RGBToHex: wasRGBToHex 39 RGBToHex: wasRGBToHex
40 }; 40 };