MCPcopy Index your code
hub / github.com/JsAaron/jQuery / genFx

Function genFx

1.6.1/src/effects.js:294–302  ·  view source on GitHub ↗
( type, num )

Source from the content-addressed store, hash-verified

292
293// Generate parameters to create a standard animation
294function genFx( type, num ) {
295 var obj = {};
296
297 jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function() {
298 obj[ this ] = type;
299 });
300
301 return obj;
302}
303
304// Generate shortcuts for custom animations
305jQuery.each({

Callers 1

effects.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected