Don't assume the browser environment in src/, run a smoke-test on Node #1950
Closed
Description
Since we want to support Node.js on the master
branch, we cannot rely on globals except window
(that is passed to the factory) and setTimeout
/clearTimeout
/setInterval
/clearInterval
.
jsHint config should be updated and we should have basic Node smoke-testing so that issues like #1788 don't happen in the future.