Open xarvh opened 11 years ago
You can fix that by changing that line from this:
var chn = define.factory[k].toString().match(/\/\/CHANNEL\n([\s\S]*)\/\/CHANNEL/)[1]
to
var chn = define.factory[k].toString().match(/\/\/CHANNEL(?:\n|\r)([\s\S]*)\/\/CHANNEL/)[1].trim();
Using node v0.8.24 on Xubuntu Precise, works correctly on Mac with the same node version. It seems like
define.factory
is an empty object.