Skip to content

Commit

Permalink
Fixed issue when using custom RequireJS loader
Browse files Browse the repository at this point in the history
Martin Zagora committed Sep 16, 2013
1 parent 9990197 commit e33f9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q.js
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@
bootstrap("promise", definition);

// CommonJS
} else if (typeof exports === "object") {
} else if (typeof module !== "undefined" && typeof exports === "object") {
module.exports = definition();

// RequireJS

0 comments on commit e33f9e1

Please sign in to comment.