Skip to content
Permalink
Browse files

rm innerWrapper inline transition-duration style

  • Loading branch information...
ganlanyuan committed Jun 18, 2018
1 parent 43b3921 commit f1813a58ab291fa60fafa0ed47673d2a98d2b7d5
Showing with 6 additions and 15 deletions.
  1. +1 −1 dist/min/tiny-slider.js
  2. +1 −1 dist/sourcemaps/tiny-slider.js.map
  3. +1 −4 dist/tiny-slider.js
  4. +1 −1 docker-compose.yml
  5. +1 −4 src/tiny-slider.js
  6. +1 −4 src/tiny-slider.module.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1118,10 +1118,7 @@ var tns = function(options) {
outerWrapper.className = classOuter;
innerWrapper.className = classInner;
innerWrapper.id = slideId + '-iw';
if (autoHeight) {
innerWrapper.className += ' tns-ah';
innerWrapper.style[TRANSITIONDURATION] = speed / 1000 + 's';
}
if (autoHeight) { innerWrapper.className += ' tns-ah'; }

// set container properties
if (container.id === '') { container.id = slideId; }
@@ -5,7 +5,7 @@ services:
image: cmcdev/web:2.7.3
ports:
- 3000:3000
- 3001:3001
# - 3001:3001
volumes:
- .:/www/web/
working_dir: /www/web
@@ -691,10 +691,7 @@ export var tns = function(options) {
outerWrapper.className = classOuter;
innerWrapper.className = classInner;
innerWrapper.id = slideId + '-iw';
if (autoHeight) {
innerWrapper.className += ' tns-ah';
innerWrapper.style[TRANSITIONDURATION] = speed / 1000 + 's';
}
if (autoHeight) { innerWrapper.className += ' tns-ah'; }

// set container properties
if (container.id === '') { container.id = slideId; }
@@ -691,10 +691,7 @@ export var tns = function(options) {
outerWrapper.className = classOuter;
innerWrapper.className = classInner;
innerWrapper.id = slideId + '-iw';
if (autoHeight) {
innerWrapper.className += ' tns-ah';
innerWrapper.style[TRANSITIONDURATION] = speed / 1000 + 's';
}
if (autoHeight) { innerWrapper.className += ' tns-ah'; }

// set container properties
if (container.id === '') { container.id = slideId; }

0 comments on commit f1813a5

Please sign in to comment.
You can’t perform that action at this time.