nodeca/js-yaml — pull request #111 by rlidwka (2014-01-06 17:48:21+00:00)
Title: proper check for existence of a window object

I believe there's a mistake, since `if (window) ...` check is useless (always true in browsers, will throw in node.js).

PS: what about lazy-loading of esprima? I don't particularly like how 100kb library is loaded every time even when I don't use full schema.