diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 773162a9..6fef658e 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.9 for version 2) +- Before you fire an issue, make sure you update to the latest version of each main version. (e.g. v2.3.10 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 148ef35e..041172f0 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # tiny-slider 2.0 -![version](https://img.shields.io/badge/Version-2.3.9-green.svg) +![version](https://img.shields.io/badge/Version-2.3.10-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 9efafac6..3a4e38d1 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "tiny-slider", - "version": "2.3.9", + "version": "2.3.10", "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 8b55f4be..78d17008 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","isVisible","offsetWidth","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","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","gutterTemUnit","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","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","startAutoplay","stopAutoplay","hoverEvents","visibilityEvent","html","substring","removeRule","slideId","doTransform","indexCached","additionalUpdates","runAutoHeight","msMaxTouchPoints","setSnapInterval","getSlideOffsetTops","updateContentWrapperHeight","updateFixedWidthInnerWrapperStyle","innerWrapperMarginZero","margin","slideItems","resize","disabled","classContainer","loop","animateIn","animateNormal","classN","left","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","isNaN","transformCore","render","sliderMoved","updateIndexBeforeTransform","running","strTrans","onTransitionEnd","animateOut","propertyName","goTo","targetIndex","onControlsClick","absIndex","indexGap","parseInt","absTargetIndex","passEventObject","srcElement","targetIn","onNavClick","navIndex","setAutoplayTimer","autoplayTimer","setInterval","autoplayDirection","stopAutoplayTimer","clearInterval","updateAutoplayButton","action","txt","data-action","autoplayHtmlStrings","toggleAnimation","onVisibilityChange","autoplayVisibilityPaused","mouseoverPause","autoplayHoverPaused","mouseoutRestart","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","absIndexMin","unshift","visibleNavIndexesCached","mode","autoplayButtonOutput","onInit","supportConsoleWarn","console","warn","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","hasGutter","fragmentBefore","createDocumentFragment","fragmentAfter","cloneFirst","firstChild","cloneLast","fontSize","slide","marginLeft","innerWrapperStr","containerStr","slideStr","itemsBP","fixedWidthBP","edgePaddingBP","gutterBP","scroll","initIndex","aria-label","data-nav","aria-controls","navHtml","insertAdjacentHTML","data-controls","leftEdge","rightEdge","gt","getInfo","destroy","slideClasses","cl"],"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,E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gB,IAClExC,GAAUjQ,MAAQ,GACdwL,IAAYjB,EAAe,CAC7B,GAAI2I,KACJA,GAAI3I,GAAiB0M,GACrBhS,EAAagL,GAAWiD,GAE1BjO,EAAagL,GAAWC,IACxBjL,EAAagL,GAAWK,IAGxBoM,GAAgBuB,aAAahO,GAAWvC,IACxCA,GAAarN,SACbqN,GAAeE,GAAeqC,GAAY,KAG1ChL,EAAazF,EAAKuP,IAGlB9J,EAAagD,GAAMsK,OAAU3F","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