Skip to content

Commit

Permalink
fix: umd template
Browse files Browse the repository at this point in the history
My fix is taken from the UMD templates project: https://github.com/umdjs/umd/blob/47e725735b854dfd93c1ca6fcebf1e018bd52606/templates/returnExportsGlobal.js#L32

Co-authored-by: Moandji Ezana <moandji.ezana@c-clearpartners.com>
  • Loading branch information
mwanji and mwanji authored Aug 4, 2020
1 parent 99ed0a6 commit b51eddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justgage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
else { // browser
root.JustGage = factory(Raphael);
}
}(this, function (Raphael) {
}(typeof window !== 'undefined' ? window : this, function (Raphael) {

var JustGage = function (config) {

Expand Down

0 comments on commit b51eddd

Please sign in to comment.