MCPcopy Index your code
hub / github.com/prototypejs/prototype / done

Function done

test/unit/static/js/mocha.js:4087–4094  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

4085
4086 // finished
4087 function done(err) {
4088 if (self.timedOut) return;
4089 if (finished) return multiple(err);
4090 self.clearTimeout();
4091 self.duration = new Date - start;
4092 finished = true;
4093 fn(err);
4094 }
4095
4096 // for .resetTimeout()
4097 this.callback = done;

Callers 9

mocha.jsFile · 0.85
nextFunction · 0.85
handlerFunction · 0.85
ajax.test.jsFile · 0.85
function.test.jsFile · 0.85
layout.test.jsFile · 0.85
dom.test.jsFile · 0.85
form.test.jsFile · 0.85

Calls 1

multipleFunction · 0.85

Tested by

no test coverage detected