Skip to content

Commit

Permalink
Fixed AMD detection
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteinge committed Apr 1, 2013
1 parent 9dfe3c1 commit eb4ef38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asevented.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
(function (name, global, definition) {
if (typeof module !== 'undefined') {
module.exports = definition();
} else if (typeof require !== 'undefined' && typeof require.amd === 'object') {
} else if (typeof require !== 'undefined' && typeof define.amd === 'object') {
define(definition);
} else {
global[name] = definition();
Expand Down

0 comments on commit eb4ef38

Please sign in to comment.