docs/source/_static/presentations/js/reveal.js
/**
	 * Wrap all links in 3D goodness.
	 */
Wrap all links in 3D goodness.
Wrap all links in 3D goodness .
function enableRollingLinks() {
		if( features.transforms3d && !( 'msPerspective' in document.body.style ) ) {
			var anchors = document.querySelectorAll( SLIDES_SELECTOR + ' a:not(.image)' );
			for( var i = 0, len = anchors.length; i < len; i++ ) {
				var anchor = anchors[i];
				if( anchor.textContent && !anchor.querySelector( '*' ) && ( !anchor.className || !anchor.classList.contains( anchor, 'roll' ) ) ) {
					var span = document.createElement('span');
					span.setAttribute('data-title', anchor.text);
					span.innerHTML = anchor.innerHTML;
					anchor.classList.add( 'roll' );
					anchor.innerHTML = '';
					anchor.appendChild(span);
				}
			}
		}
	}
function enableRollingLinks ( ) { if ( features . transforms3d && ! ( 'msPerspective' in document . body . style ) ) { var anchors = document . querySelectorAll ( SLIDES_SELECTOR + ' a:not(.image)' ) ; for ( var i = 0 , len = anchors . length ; i < len ; i ++ ) { var anchor = anchors [ i ] ; if ( anchor . textContent && ! anchor . querySelector ( '*' ) && ( ! anchor . className || ! anchor . classList . contains ( anchor , 'roll' ) ) ) { var span = document . createElement ( 'span' ) ; span . setAttribute ( 'data-title' , anchor . text ) ; span . innerHTML = anchor . innerHTML ; anchor . classList . add ( 'roll' ) ; anchor . innerHTML = '' ; anchor . appendChild ( span ) ; } } } }
Wrap all links in 3D goodness.
Wrap all links in 3D goodness .