Skip to content

Commit

Permalink
update version 2.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlanyuan committed Sep 27, 2018
1 parent 1330bbb commit 234e2b5
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Tiny-slider was strongly inspired by [Owl Carousel](https://owlcarousel2.github.
### Fire an issue
We can't test Tiny-slider on every browser and device. There are always some edge cases in which tiny-slider may not run properly. Fire an issue when it doesn't work for you. This not only helps you, also prevent others from facing the same issue.
**Notes for firing issues:**
- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.8.6 for version 2)
- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.8.7 for version 2)
- Provide the OS and browser version.
- Provide a link or your plugin options.

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tiny-slider 2.0
[![](https://data.jsdelivr.com/v1/package/npm/tiny-slider/badge?style=rounded)](https://www.jsdelivr.com/package/npm/tiny-slider)
![version](https://img.shields.io/badge/Version-2.8.6-green.svg)
![version](https://img.shields.io/badge/Version-2.8.7-green.svg)
Tiny slider for all purposes, inspired by [Owl Carousel](https://owlcarousel2.github.io/OwlCarousel2/).
[Demos](http://ganlanyuan.github.io/tiny-slider/tests/index.html)
[Tests for desktop browsers](http://ganlanyuan.github.io/tiny-slider/tests/tests.html) (running on Firefox 12+, Chrome 15+, Safari 5.1+, Opera 12.1+, IE9+)
Expand Down Expand Up @@ -200,8 +200,8 @@ Note: some features may need a manual test.
## Usage
#### 1. Add CSS (and IE8 polyfills if needed)
```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.6/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.6/min/tiny-slider.helper.ie8.js"></script><![endif]-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.7/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.7/min/tiny-slider.helper.ie8.js"></script><![endif]-->
```

#### 2. Add markup
Expand All @@ -217,7 +217,7 @@ Note: some features may need a manual test.
#### 3. Call tns()
Add tiny-slider.js to your page:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.6/min/tiny-slider.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.7/min/tiny-slider.js"></script>
<!-- NOTE: prior to v2.2.1 tiny-slider.js need to be in <body> -->
```

Expand All @@ -227,7 +227,7 @@ Or import `tns` via `webpack` or `rollup`:
import { tns } from "./node_modules/tiny-slider/src/tiny-slider"
```

Or import `tns` directly start from v2.8.6
Or import `tns` directly start from v2.8.7
```html
<script type="module">
import {tns} from './src/tiny-slider.js';
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tiny-slider",
"version": "2.8.6",
"version": "2.8.7",
"homepage": "https://github.com/ganlanyuan/tiny-slider",
"authors": [
"WilliamLin <ganlanyuan@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion dist/min/tiny-slider.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sourcemaps/tiny-slider.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tiny-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -3013,7 +3013,7 @@ var tns = function(options) {
}

return {
version: '2.8.6',
version: '2.8.7',
getInfo: info,
events: events,
goTo: goTo,
Expand Down
2 changes: 1 addition & 1 deletion 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": "tiny-slider",
"version": "2.8.6",
"version": "2.8.7",
"description": "Vanilla javascript slider for all purposes, inspired by Owl Carousel.",
"main": "dist/tiny-slider.js",
"types": "src/tiny-slider.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/tiny-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2583,7 +2583,7 @@ export var tns = function(options) {
}

return {
version: '2.8.6',
version: '2.8.7',
getInfo: info,
events: events,
goTo: goTo,
Expand Down
2 changes: 1 addition & 1 deletion src/tiny-slider.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2583,7 +2583,7 @@ export var tns = function(options) {
}

return {
version: '2.8.6',
version: '2.8.7',
getInfo: info,
events: events,
goTo: goTo,
Expand Down
2 changes: 1 addition & 1 deletion src/tiny-slider.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Version: 2.8.6
// Version: 2.8.7

.tns-outer {
padding: 0 !important; // remove padding: clientWidth = width + padding (0) = width
Expand Down

0 comments on commit 234e2b5

Please sign in to comment.