Skip to content

Commit

Permalink
[lint] make the outer function a recognizable IIFE
Browse files Browse the repository at this point in the history
  • Loading branch information
Feder1co5oave committed Jan 20, 2018
1 parent d9c471e commit 565b4a0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -1312,9 +1312,7 @@ if (typeof module !== 'undefined' && typeof exports === 'object') {
} else if (typeof define === 'function' && define.amd) {
define(function() { return marked; });
} else {
this.marked = marked;
var exp = this || (typeof window !== 'undefined' ? window : global);
exp.marked = marked;
}

}).call(function() {
return this || (typeof window !== 'undefined' ? window : global);
}());
})();

0 comments on commit 565b4a0

Please sign in to comment.