MCPcopy Index your code
hub / github.com/angular-ui/ui-router / registerRestorableStyles

Function registerRestorableStyles

test/angular/1.4/angular-animate.js:872–878  ·  view source on GitHub ↗
(backup, node, properties)

Source from the content-addressed store, hash-verified

870// is to be removed at the end of the animation). If we had a simple
871// "OR" statement then it would not be enough to catch that.
872function registerRestorableStyles(backup, node, properties) {
873 forEach(properties, function(prop) {
874 backup[prop] = isDefined(backup[prop])
875 ? backup[prop]
876 : node.style.getPropertyValue(prop);
877 });
878}
879
880var $AnimateCssProvider = ['$animateProvider', function($animateProvider) {
881 var gcsLookup = createLocalCacheLookup();

Callers 2

angular-animate.jsFile · 0.70
triggerAnimationStartFunction · 0.70

Calls 2

forEachFunction · 0.70
isDefinedFunction · 0.70

Tested by

no test coverage detected