Skip to content

Commit

Permalink
fix: reset Function for weapp runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyeh committed Jan 18, 2020
1 parent d818b26 commit 9e892a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/shared-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const browser = {

const weappRuntimeReset = () => ({
intro() {
return 'var XMLHttpRequest;';
return 'var XMLHttpRequest;function Function(){return function(){}};';
},
});

Expand Down

0 comments on commit 9e892a3

Please sign in to comment.