Skip to content

Commit

Permalink
fix: sdenv-extend的调用与文档描述统一
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenxianluo committed Mar 11, 2024
1 parent a73c013 commit a1d2fa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions browser/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require('module-alias/register');
const sdenvExtend = require('sdenv-extend');
const SdenvExtend = require('sdenv-extend');

module.exports = (win, type = 'chrome') => {
new sdenvExtend({
new SdenvExtend({
memory: {
sdenvExtend,
SdenvExtend,
}
}, win);
require(`@/browser/${type}`);
return new sdenvExtend();
return new SdenvExtend();
}

0 comments on commit a1d2fa2

Please sign in to comment.