Merge pull request #5 from robertknight/browserify-fix
Fix atob under CommonJS module bundlers (eg. Browserify)
这个提交包含在:
当前提交
372a2dff10
@ -29,4 +29,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
w.atob = atob;
|
w.atob = atob;
|
||||||
|
|
||||||
|
if (typeof module !== 'undefined') {
|
||||||
|
module.exports = atob;
|
||||||
|
}
|
||||||
}(window));
|
}(window));
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户