Permalink
Browse files

Fix CommonJS export by assigning QUnit to module.exports.

  • Loading branch information...
1 parent 7c8cbfb commit 7abb1e4f7efdcab8841b5636f09214aeafca4589 @jzaefferer jzaefferer committed Feb 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 qunit/qunit.js
View
@@ -516,8 +516,7 @@ if ( typeof exports === "undefined" || typeof require === "undefined" ) {
extend(window, QUnit);
window.QUnit = QUnit;
} else {
- extend(exports, QUnit);
- exports.QUnit = QUnit;
+ module.exports = QUnit;
}
// define these after exposing globals to keep them in these QUnit namespace only

0 comments on commit 7abb1e4

Please sign in to comment.