Skip to content

Commit

Permalink
New version 0.0.1-beta.18 Read more https://github.com/mappable-world…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jul 20, 2023
1 parent 05ef89b commit 8dc93ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mappable-world/mappable-cli",
"version": "0.0.1-beta.17",
"version": "0.0.1-beta.18",
"description": "Library for encapsulating the logic of autotests and building packages mappable.world js API",
"main": "dist/index.js",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions template/example/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ mappable.import.loaders.unshift(async (pkg) => {
}

const [_, pkgName] = pkg.split('@')
Object.assign(mappable, window[`@${pkgName}`]);
return window[`@${pkgName}`];
Object.assign(mappable, window[`${pkgName}`]);
return window[`${pkgName}`];
})


Expand Down
2 changes: 1 addition & 1 deletion template/example/react.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

const {useState, useCallback} = React;

const {MMapZoomControl} = reactify.module(await mappable.import('@mappable-world/mappable-controls@%PACKAGE_VERSION%'));
const {MMapZoomControl} = reactify.module(await mappable.import('@mappable-world/mappable-controls@0.0.1'));

const {MMapButtonExample} = reactify.module(await mappable.import('@mappable-world/%PACKAGE_NAME%@%PACKAGE_VERSION%'));

Expand Down

0 comments on commit 8dc93ad

Please sign in to comment.