roll back attr name change, just lowercase (#170)
This commit is contained in:
parent
421b78aafb
commit
6e0d0e279d
3 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ Reveal.initialize({
|
||||||
|
|
||||||
// Number of milliseconds between automatically proceeding to the
|
// Number of milliseconds between automatically proceeding to the
|
||||||
// next slide, disabled when set to 0, this value can be overwritten
|
// next slide, disabled when set to 0, this value can be overwritten
|
||||||
// by using a data-duration attribute on your slides
|
// by using a data-autoslide attribute on your slides
|
||||||
autoSlide: 0,
|
autoSlide: 0,
|
||||||
|
|
||||||
// Enable slide navigation via mouse wheel
|
// Enable slide navigation via mouse wheel
|
||||||
|
|
|
@ -34,7 +34,7 @@ var Reveal = (function(){
|
||||||
|
|
||||||
// Number of milliseconds between automatically proceeding to the
|
// Number of milliseconds between automatically proceeding to the
|
||||||
// next slide, disabled when set to 0, this value can be overwritten
|
// next slide, disabled when set to 0, this value can be overwritten
|
||||||
// by using a data-duration attribute on your slides
|
// by using a data-autoslide attribute on your slides
|
||||||
autoSlide: 0,
|
autoSlide: 0,
|
||||||
|
|
||||||
// Enable slide navigation via mouse wheel
|
// Enable slide navigation via mouse wheel
|
||||||
|
@ -845,9 +845,9 @@ var Reveal = (function(){
|
||||||
state = state.concat( slideState.split( ' ' ) );
|
state = state.concat( slideState.split( ' ' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this slide has a data-duration attribtue associated use this as
|
// If this slide has a data-autoslide attribtue associated use this as
|
||||||
// autoSlide value otherwise use the global configured time
|
// autoSlide value otherwise use the global configured time
|
||||||
var slideAutoSlide = slides[index].getAttribute( 'data-duration' );
|
var slideAutoSlide = slides[index].getAttribute( 'data-autoslide' );
|
||||||
if( slideAutoSlide ) {
|
if( slideAutoSlide ) {
|
||||||
autoSlide = parseInt( slideAutoSlide );
|
autoSlide = parseInt( slideAutoSlide );
|
||||||
} else {
|
} else {
|
||||||
|
|
2
js/reveal.min.js
vendored
2
js/reveal.min.js
vendored
|
@ -54,7 +54,7 @@ ak.style.transform="";ak.removeEventListener("click",C);}a();}}function X(aj){if
|
||||||
for(var ao=0;ao<aq;ao++){var ap=ak[ao];if(L()===false){var aj=Math.abs((ar-ao)%(aq-3))||0;ap.style.display=aj>3?"none":"block";}ak[ao].classList.remove("past");
|
for(var ao=0;ao<aq;ao++){var ap=ak[ao];if(L()===false){var aj=Math.abs((ar-ao)%(aq-3))||0;ap.style.display=aj>3?"none":"block";}ak[ao].classList.remove("past");
|
||||||
ak[ao].classList.remove("present");ak[ao].classList.remove("future");if(ao<ar){ak[ao].classList.add("past");}else{if(ao>ar){ak[ao].classList.add("future");
|
ak[ao].classList.remove("present");ak[ao].classList.remove("future");if(ao<ar){ak[ao].classList.add("past");}else{if(ao>ar){ak[ao].classList.add("future");
|
||||||
}}if(ap.querySelector("section")){ak[ao].classList.add("stack");}}ak[ar].classList.add("present");var al=ak[ar].getAttribute("data-state");if(al){ai=ai.concat(al.split(" "));
|
}}if(ap.querySelector("section")){ak[ao].classList.add("stack");}}ak[ar].classList.add("present");var al=ak[ar].getAttribute("data-state");if(al){ai=ai.concat(al.split(" "));
|
||||||
}var an=ak[ar].getAttribute("data-duration");if(an){Y=parseInt(an);}else{Y=R.autoSlide;}}else{ar=0;}return ar;}function a(ap,au){y=G;var am=ai.concat();
|
}var an=ak[ar].getAttribute("data-autoslide");if(an){Y=parseInt(an);}else{Y=R.autoSlide;}}else{ar=0;}return ar;}function a(ap,au){y=G;var am=ai.concat();
|
||||||
ai.length=0;var at=m,ak=e;m=ah(l,ap===undefined?m:ap);e=ah(b,au===undefined?e:au);stateLoop:for(var an=0,aq=ai.length;an<aq;an++){for(var al=0;al<am.length;
|
ai.length=0;var at=m,ak=e;m=ah(l,ap===undefined?m:ap);e=ah(b,au===undefined?e:au);stateLoop:for(var an=0,aq=ai.length;an<aq;an++){for(var al=0;al<am.length;
|
||||||
al++){if(am[al]===ai[an]){am.splice(al,1);continue stateLoop;}}document.documentElement.classList.add(ai[an]);r(ai[an]);}while(am.length){document.documentElement.classList.remove(am.pop());
|
al++){if(am[al]===ai[an]){am.splice(al,1);continue stateLoop;}}document.documentElement.classList.add(ai[an]);r(ai[an]);}while(am.length){document.documentElement.classList.remove(am.pop());
|
||||||
}if(R.progress&&f.progress){f.progressbar.style.width=(m/(document.querySelectorAll(l).length-1))*window.innerWidth+"px";}if(L()){I();}s();clearTimeout(D);
|
}if(R.progress&&f.progress){f.progressbar.style.width=(m/(document.querySelectorAll(l).length-1))*window.innerWidth+"px";}if(L()){I();}s();clearTimeout(D);
|
||||||
|
|
Loading…
Reference in a new issue