MCPcopy
hub / github.com/jsfiddle/togetherjs / next

Function next

togetherjs/walkthrough.js:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 function next() {
114 var index = getIndex();
115 index++;
116 if (index >= slides.length) {
117 index = slides.length-1;
118 }
119 show(index);
120 }
121
122 function getIndex() {
123 var active = slides.filter(":visible");

Callers 1

startup.jsFile · 0.70

Calls 2

getIndexFunction · 0.85
showFunction · 0.70

Tested by

no test coverage detected