MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / resume

Function resume

demo/debugger.js:282–297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 function resume() {
283 if (state.mode !== "timer") {
284 $("abpVideo").play();
285 return;
286 }
287 if (tmr !== -1)
288 return;
289 $("control-status").className = "status active";
290 cm.start();
291 start = new Date().getTime() - playhead;
292 tmr = setInterval(function() {
293 playhead = new Date().getTime() - start;
294 displayTime(playhead);
295 cm.time(playhead);
296 }, 42);
297 }
298
299 /** Load **/
300 window.loadDM = function(dmf, provider) {

Callers 1

bindFunction · 0.85

Calls 4

playMethod · 0.65
startMethod · 0.65
timeMethod · 0.65
$Function · 0.50

Tested by

no test coverage detected