browserify/timers-browserify

When invoking timers.setTimeout, an illegal invocation typerror is thrown in chrome

Closed this issue · 0 comments

This is because require('timers').setTimeout(function(){}, 1) calls setTimeout with the context of the exports object and not window.