MCPcopy Index your code
hub / github.com/flesler/jquery.scrollTo / animate

Function animate

jquery.scrollTo.js:155–166  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

153 animate(settings.onAfter);
154
155 function animate(callback) {
156 var opts = $.extend({}, settings, {
157 // The queue setting conflicts with animate()
158 // Force it to always be true
159 queue: true,
160 duration: duration,
161 complete: callback && function() {
162 callback.call(elem, targ, settings);
163 }
164 });
165 $elem.animate(attr, opts);
166 }
167 });
168 };
169

Callers 1

jquery.scrollTo.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected