Skip to content

Commit

Permalink
fix(async-await): 修复新版本支付宝开发者工具不支持空文件的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Nov 5, 2018
1 parent 59c2bd4 commit 8af35fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro-async-await/index.js
@@ -1,3 +1,5 @@
// support for async functions

if (process.env.TARO_ENV !== 'alipay') {
var g = typeof window !== 'undefined' &&
window.Math === Math ? window : typeof global === 'object' ? global : this
Expand Down

0 comments on commit 8af35fa

Please sign in to comment.