var Ne = require('neon');
Module = Ne.Module;
Class = Ne.Class;
+ var Microtime = require('microtime');
} else {
Module = global.Module;
Class = global.Class;
return performance.timing.navigationStart + performance.now();
}
- if (typeof process !== 'undefined') {
- return process.hrtime();
+ if (typeof Microtime !== 'undefined') {
+ return Microtime.nowDouble() * 1000;
}
return Date.now();
"dependencies" : {
"neon" : "1.0.x",
"socket.io" : "0.9.x",
- "colors" : "0.x.x"
+ "colors" : "0.x.x",
+ "microtime" : "0.3.x"
},
"engines" : { "node" : ">= 0.8.0" },
"main" : "./lib/cobalt.js",