MCPcopy
hub / github.com/stutrek/scrollmonitor / destroy

Function destroy

test/tests.js:65–70  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

63};
64
65var destroy = function (done) {
66 window.scrollTo(0, 0);
67 requestAnimationFrame(function () {
68 done();
69 });
70};
71
72describe('API', function () {
73 it('module should have correct API.', function () {

Callers

nothing calls this directly

Calls 1

requestAnimationFrameFunction · 0.85

Tested by

no test coverage detected