Skip to content

Commit

Permalink
docs: update info about using unpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
soanvig authored May 18, 2022
1 parent 2220843 commit 5ba2601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For **framework adapters** see: [adapters section](#adapters)
4. Instantiate JSR

```js
// NOTE: for unpkg skip import, and use `window.JSR.JSR`/`window.JSR.ModuleXXX`
// NOTE: for unpkg skip import, and use `const { JSR, ModuleRail, ModuleSlider, ModuleBar, ModuleLabel, ModuleLimit } = window.JSR` instead.
import { JSR, ModuleRail, ModuleSlider, ModuleBar, ModuleLabel, ModuleLimit } from 'mm-jsr';

const jsr = new JSR({
Expand Down

0 comments on commit 5ba2601

Please sign in to comment.