Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shtyr-maxim committed Sep 7, 2023
1 parent 15aaf8b commit 2799af2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ mappable.import.loaders.unshift(async (pkg) => {
await mappable.import.script(`https://unpkg.com/${pkg}/dist/index.js`);
}

Object.assign(mappable, window[`${pkg}`]);
return window[`${pkg}`];
return window[pkg];
});
```

Expand Down

0 comments on commit 2799af2

Please sign in to comment.