MCPcopy
hub / github.com/angular-ui/ui-router / parseAnimateOptions

Function parseAnimateOptions

test/angular/1.3/angular-animate.js:548–558  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

546 }
547
548 function parseAnimateOptions(options) {
549 // some plugin code may still be passing in the callback
550 // function as the last param for the $animate methods so
551 // it's best to only allow string or array values for now
552 if (isObject(options)) {
553 if (options.tempClasses && isString(options.tempClasses)) {
554 options.tempClasses = options.tempClasses.split(/\s+/);
555 }
556 return options;
557 }
558 }
559
560 function resolveElementClasses(element, cache, runningAnimations) {
561 runningAnimations = runningAnimations || {};

Callers 1

angular-animate.jsFile · 0.85

Calls 2

isObjectFunction · 0.70
isStringFunction · 0.70

Tested by

no test coverage detected