Skip to content

Commit

Permalink
version 2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlanyuan committed Jul 27, 2020
1 parent c6db194 commit 489bb95
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Contributing to Tiny-slider
Thanks for considering contributing to Tiny-slider. :tada: :clap:
With the help of contributors like you, Tiny-slider will work better for everyone.
Thanks for considering contributing to Tiny-slider. :tada: :clap:
With the help of contributors like you, Tiny-slider will work better for everyone.

### Why this project?
Tiny-slider was strongly inspired by [Owl Carousel](https://owlcarousel2.github.io/OwlCarousel2/) which is a very powerful and awesome tool to make a slide show. But I don't want to include jQuery just for a slider (Do you?), that's why I started this project. Right now Tiny-slider is still young and may have some issues and lack some features. We can work together to make it much more useful for the whole community.
Tiny-slider was strongly inspired by [Owl Carousel](https://owlcarousel2.github.io/OwlCarousel2/) which is a very powerful and awesome tool to make a slide show. But I don't want to include jQuery just for a slider (Do you?), that's why I started this project. Right now Tiny-slider is still young and may have some issues and lack some features. We can work together to make it much more useful for the whole community.

### Features needed:
- [ ] automate test
### Features needed:
- [ ] automate test
- [ ] custom build (build Tiny-slider based on your needs)
- [ ] modular

## How can I contribute?

### 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.9.2 for version 2)
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.9.3 for version 2)
- Provide the OS and browser version.
- Provide a link or your plugin options.

Expand All @@ -30,6 +30,6 @@ If you know what's wrong or missing and willing to help :heart: :clap: :+1:, fol
- Run `docker-compose up` in the command line tool after located in the cloned directory.
- Make changes in "src/tiny-slider.js", "src/tiny-slider.helper.ie8.js" or "src/tiny-slider.scss" and a series of tasks will automatically run to minify, compile source files to final js and CSS files.
- Test the project with "http://localhost:3000/test/index.html".
- Turn down Docker with `docker-compose down -v` following command + C (Mac).
- Turn down Docker with `docker-compose down -v` following command + C (Mac).

NOTE: If you don't want to get complicated, just make changes to "src/tiny-slider.js", "src/tiny-slider.helper.ie8.js" or "src/tiny-slider.scss" and send a pull request.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tiny Slider 2
[![](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.9.2-green.svg)
![version](https://img.shields.io/badge/Version-2.9.3-green.svg)

Tiny slider for all purposes, inspired by [Owl Carousel](https://owlcarousel2.github.io/OwlCarousel2/).

Expand Down Expand Up @@ -214,8 +214,8 @@ Tiny slider for all purposes, inspired by [Owl Carousel](https://owlcarousel2.gi
## Usage
#### 1. Add CSS (and IE8 polyfills if needed)
```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.2/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.2/min/tiny-slider.helper.ie8.js"></script><![endif]-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.3/tiny-slider.css">
<!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.3/min/tiny-slider.helper.ie8.js"></script><![endif]-->
```

#### 2. Add markup
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.9.2",
"version": "2.9.3",
"homepage": "https://github.com/ganlanyuan/tiny-slider",
"authors": [
"WilliamLin <[email protected]>"
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.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 @@ -3188,7 +3188,7 @@ var tns = function(options) {
}

return {
version: '2.9.2',
version: '2.9.3',
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.9.2",
"version": "2.9.3",
"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 @@ -2749,7 +2749,7 @@ export var tns = function(options) {
}

return {
version: '2.9.2',
version: '2.9.3',
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 @@ -2749,7 +2749,7 @@ export var tns = function(options) {
}

return {
version: '2.9.2',
version: '2.9.3',
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.9.2
// Version: 2.9.3

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

0 comments on commit 489bb95

Please sign in to comment.