Skip to content

Commit

Permalink
update readme, version
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlanyuan committed Oct 2, 2017
1 parent 08bddc5 commit 63e2cf2
Show file tree
Hide file tree
Showing 10 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.2.0 for version 2)
- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.2.1 for version 2)
- Provide the OS and browser version.
- Provide a link or your plugin options.

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tiny-slider 2.0
![version](https://img.shields.io/badge/Version-2.2.0-green.svg)
![version](https://img.shields.io/badge/Version-2.2.1-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 @@ -71,12 +71,12 @@ Note: some features may need a manual test.
##### 1. Include tiny-slider
via [cdnjs](https://cdnjs.com/libraries/tiny-slider):
```html
<!-- inside <head> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.0/tiny-slider.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.1/tiny-slider.css">

<!-- inside <body> -->
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.0/min/tiny-slider.helper.ie8.js"></script><![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.0/min/tiny-slider.js"></script>
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.1/min/tiny-slider.helper.ie8.js"></script><![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.2.1/min/tiny-slider.js"></script>

<!-- NOTE: from v2.2.1 tiny-slider.js is no longer required to be in <body> -->
```
Or import it via `webpack` or `rollup`:
```javascript
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.2.0",
"version": "2.2.1",
"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 @@ -406,7 +406,7 @@ function jsTransform(element, attr, prefix, postfix, to, duration, callback) {
}

// Format: IIFE
// Version: 2.2.0
// Version: 2.2.1

// helper functions
// check browser version and local storage
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.2.0",
"version": "2.2.1",
"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,5 +1,5 @@
// Format: IIFE
// Version: 2.2.0
// Version: 2.2.1

// helper functions
import './helpers/keys';
Expand Down
2 changes: 1 addition & 1 deletion src/tiny-slider.module.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Format: ES MODULE
// Version: 2.2.0
// Version: 2.2.1

// helper functions
import './helpers/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.2.0
// Version: 2.2.1

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

0 comments on commit 63e2cf2

Please sign in to comment.