MCPcopy
hub / github.com/Famous/famous-angular / _getIsolate

Function _getIsolate

src/scripts/services/famousAnimate.js:107–111  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

105 //pretty hacky
106 var _lastKnownParent = {};
107 var _getIsolate = function(scope){
108 var isolate = $famous.getIsolate(scope);
109 if(!isolate && scope) {isolate = $famousDecorator.$$getIsolateById(_lastKnownParent[scope.$id]);}
110 return isolate;
111 };
112
113 /**
114 * Pass through $animate methods that are strictly class based.

Callers 2

famousAnimate.jsFile · 0.85
doneCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected