tmpvar/jsdom — pull request #773 by nikolas (2014-05-20 22:18:20+00:00)
Title: Fix for passing a blank string into jsdom.jsdom()

Follow-up for discussion on #772.

Fixes a bug where calling `jsdom.jsdom(' ')` resulted in a document with
no html, while `jsdom.jsdom('')` yields the default `...`.

I'm using `trim()` to strip whitespace from the parameter and check if it's falsy.