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

Function both

jquery.scrollTo.js:187–189  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

185 };
186
187 function both(val) {
188 return isFunction(val) || $.isPlainObject(val) ? val : { top:val, left:val };
189 }
190
191 // Add special hooks so that window scroll properties can be animated
192 $.Tween.propHooks.scrollLeft =

Callers 1

jquery.scrollTo.jsFile · 0.70

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected