Skip to content

Commit

Permalink
update version v2.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlanyuan committed Jul 17, 2018
1 parent e8f4b70 commit acf3bc3
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 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.1 for version 2)
- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.8.2 for version 2)
- Provide the OS and browser version.
- Provide a link or your plugin options.

Expand Down
8 changes: 4 additions & 4 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.1-green.svg)
![version](https://img.shields.io/badge/Version-2.8.2-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](http://ganlanyuan.github.io/tiny-slider/tests/tests.html)
Expand Down Expand Up @@ -52,8 +52,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.1/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.1/min/tiny-slider.helper.ie8.js"></script><![endif]-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.2/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.2/min/tiny-slider.helper.ie8.js"></script><![endif]-->
```

#### 2. Add markup
Expand All @@ -69,7 +69,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.1/min/tiny-slider.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.8.2/min/tiny-slider.js"></script>
<!-- NOTE: prior to v2.2.1 tiny-slider.js need to be in <body> -->
```

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.1",
"version": "2.8.2",
"homepage": "https://github.com/ganlanyuan/tiny-slider",
"authors": [
"WilliamLin <[email protected]>"
Expand Down
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 @@ -470,7 +470,7 @@ function jsTransform(element, attr, prefix, postfix, to, duration, callback) {
}
}

// Version: 2.8.1
// Version: 2.8.2

// helper functions
if (!Object.keys) {
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.1",
"version": "2.8.2",
"description": "Vanilla javascript slider for all purposes, inspired by Owl Carousel.",
"main": "dist/tiny-slider.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/tiny-slider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Version: 2.8.1
// Version: 2.8.2

// helper functions
if (!Object.keys) {
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.1
// Version: 2.8.2

.tns-outer {
padding: 0 !important; // remove padding: clientWidth = width + padding (0) = width
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,9 @@ fsevents@^1.0.0, fsevents@^1.1.2:
nan "^2.9.2"
node-pre-gyp "^0.10.0"

gauge@~2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.8.1.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
gauge@~2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.8.2.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
dependencies:
aproba "^1.0.3"
console-control-strings "^1.0.0"
Expand Down Expand Up @@ -1662,7 +1662,7 @@ npmlog@^4.0.2:
dependencies:
are-we-there-yet "~1.1.2"
console-control-strings "~1.1.0"
gauge "~2.8.1"
gauge "~2.8.2"
set-blocking "~2.0.0"

number-is-nan@^1.0.0:
Expand Down

0 comments on commit acf3bc3

Please sign in to comment.