Skip to content

Commit ad6484b

Browse files
committed
!fixup 565b4a0
1 parent d303e16 commit ad6484b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/marked.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://github.com/chjj/marked
55
*/
66

7-
;(function() {
7+
;(function(root) {
88
'use strict';
99

1010
/**
@@ -1378,7 +1378,6 @@ if (typeof module !== 'undefined' && typeof exports === 'object') {
13781378
} else if (typeof define === 'function' && define.amd) {
13791379
define(function() { return marked; });
13801380
} else {
1381-
var exp = this || (typeof window !== 'undefined' ? window : global);
1382-
exp.marked = marked;
1381+
root.marked = marked;
13831382
}
1384-
})();
1383+
})(this || (typeof window !== 'undefined' ? window : global));

0 commit comments

Comments
 (0)