digitalbazaar/forge — pull request #31 by evanj (2013-05-06 19:46:57+00:00)
Title: random.js: Use typeof window to avoid ReferenceError on Node.

Node doesn't appear to let you reference undefined variables. Apparently you need to use typeof?