diff --git a/.env b/.env
new file mode 100644
index 00000000..f80f5cf8
--- /dev/null
+++ b/.env
@@ -0,0 +1,2 @@
+#.env
+COMPOSE_HTTP_TIMEOUT=36000
\ No newline at end of file
diff --git a/README.md b/README.md
index 6eaefc96..7a585eb8 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# tiny-slider
-![version](https://img.shields.io/badge/Version-0.3.5-green.svg)
+![version](https://img.shields.io/badge/Version-0.4.0-green.svg)
Tiny slider for all purposes, inspired by [Owl Carousel](http://owlcarousel.owlgraphic.com/).
Works on morden browsers and IE8+.
[demo](http://creatiointl.org/william/tiny-slider/v1/demo/)
@@ -32,7 +32,7 @@ Include tiny-slider
```html
-
+
```
Or tiny-slider.native + [go-native](https://github.com/ganlanyuan/go-native),
@@ -89,6 +89,7 @@ Default:
{
container: document.querySelector('.slider'),
items: 1,
+ gutter: 0,
fixedWidth: false,
maxContainerWidth: false,
slideByPage: false,
@@ -111,14 +112,11 @@ Default:
}
```
-#### * Padding
-There is no option for `padding`, but you can add it by css
-```css
-.tiny-slider { margin-right: -10px; }
-.your-slider > div { padding-right: 10px; }
-```
+#### Padding
+There is no option for `padding`, but you can add it by css
+Now you can set the gutter using `gutter` option.
-#### * Non-javascirpt fallback
+#### Fallback
```css
.no-js .your-slider {
overflow-x: auto;
diff --git a/bower.json b/bower.json
index 44e9e721..8f6f26db 100644
--- a/bower.json
+++ b/bower.json
@@ -1,15 +1,13 @@
{
"name": "tiny-slider",
- "version": "0.3.5",
+ "version": "0.4.0",
"homepage": "https://github.com/ganlanyuan/tiny-slider",
"authors": [
"WilliamLin "
],
"description": "Tiny slider for all purposes.",
"main": [
- "src/tiny-slider.scss",
- "dist/tiny-slider.helper.ie8.js",
- "dist/tiny-slider.native.js",
+ "dist/tiny-slider.css",
"dist/tiny-slider.js"
],
"moduleType": [],
@@ -26,7 +24,7 @@
"tests"
],
"devDependencies": {
- "go-native": "0.0.3"
+ "go-native": "0.0.8"
},
"dependencies": {}
}
diff --git a/changelog.md b/changelog.md
index 518a14dc..2aa47a33 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,4 @@
-#Changelog
+# Changelog
+
+#### v0.4.0
+- Added: `gutter` option.
+- Renamed `tiny-slider.helper.ie8.js` to `tiny-slider.ie8.js`.
+
#### v0.3.5
- Fix a `package.json` issue.
diff --git a/demo/index.html b/demo/index.html
index b65bfc54..93c5701d 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -124,12 +124,13 @@
button[aria-selected="true"] { background: #999; }
-
-
+
+