I think it's too late, but in any case there are 2 versions in NodeWebkit (setInterval / setTimeout): 1- window.setInterval / window.setTimeout (Chrome version) 2- global.setInterval / global.setTimeout (NodeJs version)
NodeJS , Chrome , , , NodeJs, (global. setInterval)
:, , chrome :
// override chrome timing function with node js versions
this.setTimeout = window.setTimeout = global.setTimeout;
this.clearTimeout = window.clearTimeout = global.clearTimeout;
this.setInterval = window.setInterval = global.setInterval;
this.clearInterval = window.clearInterval = global.clearInterval;
;)