diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 32a71414..3915fe1c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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.3.3 for version 2) +- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.3.4 for version 2) - Provide the OS and browser version. - Provide a link or your plugin options. diff --git a/README.md b/README.md index 22c2d0d7..f92069e5 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # tiny-slider 2.0 -![version](https://img.shields.io/badge/Version-2.3.3-green.svg) +![version](https://img.shields.io/badge/Version-2.3.4-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) @@ -71,10 +71,10 @@ Note: some features may need a manual test. ##### 1. Include tiny-slider via [cdnjs](https://cdnjs.com/libraries/tiny-slider): ```html - + - - + + ``` diff --git a/bower.json b/bower.json index 3bc221b8..54886230 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "tiny-slider", - "version": "2.3.3", + "version": "2.3.4", "homepage": "https://github.com/ganlanyuan/tiny-slider", "authors": [ "WilliamLin " diff --git a/dist/sourcemaps/tiny-slider.js.map b/dist/sourcemaps/tiny-slider.js.map index 534ba3e4..5a59257e 100644 --- a/dist/sourcemaps/tiny-slider.js.map +++ b/dist/sourcemaps/tiny-slider.js.map @@ -1 +1 @@ -{"version":3,"sources":["tiny-slider.js"],"names":["tns","extend","obj","name","copy","target","arguments","i","length","undefined","checkStorageValue","value","indexOf","JSON","parse","setLocalStorage","key","access","localStorage","setItem","getSlideId","id","window","tnsId","getBody","doc","document","body","createElement","fake","setFakeBody","docOverflow","docElement","style","overflow","background","appendChild","resetFakeBody","remove","offsetHeight","createStyleSheet","media","setAttribute","querySelector","sheet","styleSheet","addCSSRule","selector","rules","index","insertRule","addRule","getCssRulesLength","cssRules","toDegree","y","x","Math","atan2","PI","getTouchDirection","angle","range","direction","gap","abs","hasClass","el","str","className","addClass","removeClass","replace","hasAttr","attr","hasAttribute","getAttr","getAttribute","isNodeList","item","setAttrs","els","attrs","Array","Object","prototype","toString","call","removeAttrs","attrLength","j","removeAttribute","hideElement","hidden","showElement","imageLoaded","img","complete","naturalWidth","whichProperty","props","prop","getEndProperty","propIn","propOut","endProp","test","toLowerCase","addEvents","option","passiveOption","addEventListener","removeEvents","removeEventListener","Events","topics","on","eventName","fn","this","push","off","splice","emit","data","forEach","jsTransform","element","prefix","postfix","to","duration","callback","moveElement","tick","from","positionTick","unit","setTimeout","min","Number","keys","object","hasOwnProperty","Element","parentNode","removeChild","documentElement","supportsPassive","opts","defineProperty","get","e","passive","browserInfo","navigator","userAgent","localStorageAccess","tnsStorage","removeItem","win","KEYS","ENTER","SPACE","PAGEUP","PAGEDOWN","END","HOME","LEFT","UP","RIGHT","DOWN","CALC","div","result","val","vals","width","offsetWidth","SUBPIXEL","child2","supported","parent","child1","cssText","cloneNode","offsetTop","CSSMQ","position","rule","type","createTextNode","getComputedStyle","currentStyle","TRANSFORM","TRANSITIONDURATION","TRANSITIONDELAY","ANIMATIONDURATION","ANIMATIONDELAY","TRANSITIONEND","ANIMATIONEND","options","getWindowWidth","innerWidth","clientWidth","checkOption","breakpoints","responsiveItems","bp","responsive","getOption","viewport","windowWidth","slideBy","edgePadding","autoHeight","carousel","floor","vpOuter","nested","len","getSlideMarginLeft","slideCountNew","getInnerWrapperStyles","edgePaddingTem","gutterTem","fixedWidthTem","horizontal","dir","getContainerWidth","itemsTem","getSlideWidthStyle","dividend","importantStr","getSlideGutterStyle","onResize","event","clearTimeout","resizeTimer","newWW","resizeTasks","events","info","breakpointZoneTem","breakpointZone","indexTem","items","freezeTem","freeze","outerWrapper","vpInner","innerWrapper","setBreakpointZone","fixedWidth","arrowKeysTem","arrowKeys","autoHeightTem","gutter","disableTem","disable","freezable","slideCount","indexMax","indexAdjust","updateIndex","disableSlider","cloneCount","toggleSlideDisplayAndEdgePadding","speed","doContainerTransform","height","docmentKeydownEvent","hasControls","controlsTem","controls","controlsTextTem","controlsText","controlsContainer","prevButton","innerHTML","nextButton","hasNav","navTem","nav","navContainer","updateNavVisibility","hasTouch","touchTem","touch","container","touchEvents","hasMouseDrag","mouseDragTem","mouseDrag","dragEvents","hasAutoplay","autoplayTem","autoplay","autoplayHoverPauseTem","autoplayHoverPause","autoplayResetOnVisibilityTem","autoplayResetOnVisibility","autoplayTextTem","autoplayText","autoplayTimeout","autoplayButton","animating","startAction","stopAction","hoverEvents","visibilityEvent","html","substring","removeRule","slideId","doTransform","indexCached","additionalUpdates","runAutoHeight","msMaxTouchPoints","setSnapInterval","getSlideOffsetTops","updateContentWrapperHeight","margin","slideItems","disabled","classContainer","loop","animateIn","animateNormal","classN","left","mouseoverPause","autoplayHoverStopped","mouseoutRestart","lazyLoad","lazyload","querySelectorAll","eve","stopPropagation","src","images","updateInnerWrapperHeight","checkImagesLoaded","updateSlideStatus","updateControlsStatus","updateNavStatus","maxHeight","heights","max","apply","setDurations","slideOffsetTops","topFirst","getBoundingClientRect","top","msScrollSnapPointsX","aria-hidden","slideActiveClass","tabindex","navCurrentIndex","navClicked","navCurrentIndexCached","navPrev","navItems","navCurrent","aria-selected","navActiveClass","isButton","nodeName","isAriaDisabled","disEnableElement","prevDisabled","nextDisabled","disablePrev","indexMin","disableNext","rewind","prevIsButton","nextIsButton","getContainerTransformValue","denominator","transformAttr","transformPrefix","transformPostfix","animateSlide","number","classOut","classIn","isOut","l","animateDelay","slideItemsOut","distance","transformCore","render","sliderMoved","updateIndexBeforeTransform","running","strTrans","onTransitionEnd","animateOut","propertyName","goTo","targetIndex","onControlsClick","absIndex","indexGap","parseInt","isNaN","absTargetIndex","srcElement","onNavClick","navIndex","updateAutoplayButton","action","txt","data-action","autoplayHtmlStrings","resetActionTimer","pauseActionTimer","clearInterval","autoplayTimer","setInterval","autoplayDirection","toggleAnimation","onVisibilityChange","autoplayResetVisibilityState","onDocumentKeydown","keyCode","onControlsKeydown","setFocus","focus","onNavKeydown","getNavIndex","num","visibleNavIndexes","curElement","activeElement","code","current","ie10Scroll","scrollLeft","getTarget","isTouchEvent","preventDefaultBehavior","preventDefault","returnValue","onTouchOrMouseStart","moveDirectionExpected","touchedOrDraged","startX","startY","ev","changedTouches","clientX","clientY","translateInit","parseFloat","onTouchOrMouseMove","disX","disY","axis","isDragEvent","percentageX","onTouchOrMouseEnd","Boolean","indexMoved","ceil","moved","click","preventClick","getVisibleNavIndex","temIndex","absIndexMin","unshift","visibleNavIndexesCached","ind","mode","autoplayButtonOutput","onInit","children","resTem","res","containerParent","map","sort","a","b","concat","arr","hasRightDeadZone","containerIdCached","controlsEvents","keydown","navEvents","mouseover","mouseout","visibilitychange","touchstart","touchmove","touchend","touchcancel","mousedown","mousemove","mouseup","mouseleave","insertBefore","classOuter","classInner","fragmentBefore","createDocumentFragment","fragmentAfter","cloneFirst","firstChild","cloneLast","cssFontSize","fontSize","slide","marginLeft","innerWrapperStr","containerStr","slideStr","itemsBP","fixedWidthBP","edgePaddingBP","gutterBP","scroll","initIndex","aria-label","data-nav","aria-controls","navHtml","insertAdjacentHTML","data-controls","resize","leftEdge","rightEdge","gt","containerRightEdge","getInfo","destroy","classList"],"mappings":"AAAA,GAAIA,KAAM,WA2BV,QAASC,KAMP,IALA,GAAIC,GAAKC,EAAMC,EACXC,EAASC,UAAU,OACnBC,EAAI,EACJC,EAASF,UAAUE,OAEhBD,EAAIC,EAAQD,IACjB,GAA6B,QAAxBL,EAAMI,UAAUC,IACnB,IAAKJ,IAAQD,GACXE,EAAOF,EAAIC,GAEPE,IAAWD,GAE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/J,EAAagD,GAAMuX,OAAU5S","file":"../dist/tiny-slider.js","sourcesContent":["var tns = (function (){\n// keys\nif (!Object.keys) {\n Object.keys = function (object) {\n var keys = [];\n for (var name in object) {\n if (Object.prototype.hasOwnProperty.call(object, name)) {\n keys.push(name);\n }\n }\n return keys;\n };\n}\n\n// ChildNode.remove\n(function () {\n \"use strict\";\n\n if(!(\"remove\" in Element.prototype)){\n Element.prototype.remove = function(){\n if(this.parentNode) {\n this.parentNode.removeChild(this);\n }\n };\n }\n})();\n\nfunction extend() {\n var obj, name, copy,\n target = arguments[0] || {},\n i = 1,\n length = arguments.length;\n\n for (; i < length; i++) {\n if ((obj = arguments[i]) !== null) {\n for (name in obj) {\n copy = obj[name];\n\n if (target === copy) {\n continue;\n } else if (copy !== undefined) {\n target[name] = copy;\n }\n }\n }\n }\n return target;\n}\n\nfunction checkStorageValue (value) {\n return ['true', 'false'].indexOf(value) >= 0 ? JSON.parse(value) : value;\n}\n\nfunction setLocalStorage(key, value, access) {\n if (access) { localStorage.setItem(key, value); }\n return value;\n}\n\nfunction getSlideId() {\n var id = window.tnsId;\n window.tnsId = !id ? 1 : id + 1;\n \n return 'tns' + window.tnsId;\n}\n\nfunction getBody () {\n var doc = document,\n body = doc.body;\n\n if (!body) {\n body = doc.createElement('body');\n body.fake = true;\n }\n\n return body;\n}\n\nvar docElement = document.documentElement;\n\nfunction setFakeBody (body) {\n var docOverflow = '';\n if (body.fake) {\n docOverflow = docElement.style.overflow;\n //avoid crashing IE8, if background image is used\n body.style.background = '';\n //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\n body.style.overflow = docElement.style.overflow = 'hidden';\n docElement.appendChild(body);\n }\n\n return docOverflow;\n}\n\nfunction resetFakeBody (body, docOverflow) {\n if (body.fake) {\n body.remove();\n docElement.style.overflow = docOverflow;\n // Trigger layout so kinetic scrolling isn't disabled in iOS6+\n // eslint-disable-next-line\n docElement.offsetHeight;\n }\n}\n\n// get css-calc \n// @return - false | calc | -webkit-calc | -moz-calc\n// @usage - var calc = getCalc(); \nfunction calc() {\n var doc = document, \n body = getBody(),\n docOverflow = setFakeBody(body),\n div = doc.createElement('div'), \n result = false;\n\n body.appendChild(div);\n try {\n var vals = ['calc(10px)', '-moz-calc(10px)', '-webkit-calc(10px)'], val;\n for (var i = 0; i < 3; i++) {\n val = vals[i];\n div.style.width = val;\n if (div.offsetWidth === 10) { \n result = val.replace('(10px)', ''); \n break;\n }\n }\n } catch (e) {}\n \n body.fake ? resetFakeBody(body, docOverflow) : div.remove();\n\n return result;\n}\n\n// get subpixel support value\n// @return - boolean\nfunction subpixelLayout() {\n var doc = document,\n body = getBody(),\n docOverflow = setFakeBody(body),\n parent = doc.createElement('div'),\n child1 = doc.createElement('div'),\n child2,\n supported;\n\n parent.style.cssText = 'width: 10px';\n child1.style.cssText = 'float: left; width: 5.5px; height: 10px;';\n child2 = child1.cloneNode(true);\n\n parent.appendChild(child1);\n parent.appendChild(child2);\n body.appendChild(parent);\n\n supported = child1.offsetTop !== child2.offsetTop;\n\n body.fake ? resetFakeBody(body, docOverflow) : parent.remove();\n\n return supported;\n}\n\nfunction mediaquerySupport () {\n var doc = document,\n body = getBody(),\n docOverflow = setFakeBody(body),\n div = doc.createElement('div'),\n style = doc.createElement('style'),\n rule = '@media all and (min-width:1px){.tns-mq-test{position:absolute}}',\n position;\n\n style.type = 'text/css';\n div.className = 'tns-mq-test';\n\n body.appendChild(style);\n body.appendChild(div);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = rule;\n } else {\n style.appendChild(doc.createTextNode(rule));\n }\n\n position = window.getComputedStyle ? window.getComputedStyle(div).position : div.currentStyle['position'];\n\n body.fake ? resetFakeBody(body, docOverflow) : div.remove();\n\n return position === \"absolute\";\n}\n\n// create and append style sheet\nfunction createStyleSheet (media) {\n // Create the