MCPcopy Create free account
hub / github.com/angular-ui/ui-router / registerRestorableStyles

Function registerRestorableStyles

test/angular/1.5/angular-animate.js:853–859  ·  view source on GitHub ↗
(backup, node, properties)

Source from the content-addressed store, hash-verified

851// is to be removed at the end of the animation). If we had a simple
852// "OR" statement then it would not be enough to catch that.
853function registerRestorableStyles(backup, node, properties) {
854 forEach(properties, function(prop) {
855 backup[prop] = isDefined(backup[prop])
856 ? backup[prop]
857 : node.style.getPropertyValue(prop);
858 });
859}
860
861var $AnimateCssProvider = ['$animateProvider', /** @this */ function($animateProvider) {
862 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