Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Apr 28, 2019
1 parent 6ac3036 commit b02bb87
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion EhDbReleaseBuilder/jswrapper/pako.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
//(function (d) {
var gThis;
if (typeof window === 'undefined') {
if (typeof window !== 'undefined') {
gThis = window;
} else if (typeof self !== 'undefined') {
gThis = self;
} else if (typeof global !== 'undefined') {
gThis = global;
} else if (typeof globalThis !== 'undefined') {
gThis = globalThis;
} else {
gThis = this;
}
if (typeof gThis.atob !== 'function') {
gThis.atob = require('atob');
}

Expand Down
2 changes: 1 addition & 1 deletion EhDbReleaseBuilder/jswrapper/pako.min.js

Large diffs are not rendered by default.

0 comments on commit b02bb87

Please sign in to comment.