Skip to content

Commit 3eba26c

Browse files
committed
Fix for AMD (#51).
1 parent d5d8629 commit 3eba26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@
785785
// http://www.requirejs.org/docs/api.html
786786
// https://github.com/amdjs/amdjs-api/wiki/AMD
787787
} else if (typeof(define) === 'function' && define.amd) {
788-
define(aesjs);
788+
define([], function() { return aesjs; });
789789

790790
// Web Browsers
791791
} else {

0 commit comments

Comments
 (0)