Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Commit 61e41fc

Browse files
committed
minor readme.md tweaks
1 parent 904059d commit 61e41fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The [UMD](https://github.com/umdjs/umd) and style builds are also available on [
2424

2525
```html
2626
<link rel="stylesheet" href="https://unpkg.com/slendr/dist/slendr.min.css">
27-
<script src="https://unpkg.com/slendr/dist/slendr.min.js"></script>
27+
<script src="https://unpkg.com/slendr/dist/slendr.umd.min.js"></script>
2828
```
2929

3030
You can use the component via `window.slendr`
@@ -73,9 +73,9 @@ myslider.on('move', (direction, index, element) => console.log(direction))
7373
**Typescript:**
7474

7575
```js
76-
import { slendr, ISlendr } from 'slendr'
76+
import { slendr, Slendr } from 'slendr'
7777

78-
const myslider: ISlendr = slendr({
78+
const myslider: Slendr = slendr({
7979
container: '.slendr',
8080
selector: '.slendr-slides > .slendr-slide',
8181
slideshow: false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"scripts": {
5959
"version": "npm run build",
60-
"build": "npm run clean && npm run compile",
60+
"build": "npm run test && npm run clean && npm run compile",
6161
"compile": "npm run compile:browser && npm run compile:cjs",
6262
"compile:cjs": "tsc --module commonjs --target es5",
6363
"compile:browser": "rollup -c",

0 commit comments

Comments
 (0)