Hi, socket-ntp is currently not browserify compliant. Here is how we can make it compliant:
in package.json, add:
in client/ntp.js:
if (typeof require === 'function') {
module.exports = ntp;
}
else if (typeof define === 'function' && define.amd) {
define('ntp', [], function () {
return ntp;
});
} else {
root.ntp = ntp;
}
Thanks
Hi, socket-ntp is currently not browserify compliant. Here is how we can make it compliant:
in package.json, add:
in client/ntp.js:
Thanks