jquery/qunit — pull request #401 by twada (2013-01-29 09:32:19+00:00)
Title: Fix errors on non-browser environment.

Fix errors on non-browser env that does not have addEventListener nor attachEvent.
Refinement of closed PR https://github.com/jquery/qunit/pull/399

### Stacktrace on Node.js

/Users/takuto/work/git-sandbox/github/qunit-tap/test/compatibility/1.11.0/qunit.js:1506
elem.attachEvent( "on" + type, fn );
^
TypeError: Object #