MCPcopy Create free account
hub / github.com/apache/cloudstack / clearContent

Function clearContent

tools/ngui/static/js/lib/angular.js:13255–13262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13253 childScope;
13254
13255 var clearContent = function() {
13256 if (childScope) {
13257 childScope.$destroy();
13258 childScope = null;
13259 }
13260
13261 element.html('');
13262 };
13263
13264 scope.$watch(srcExp, function ngIncludeWatchAction(src) {
13265 var thisChangeId = ++changeCounter;

Callers 2

angular.jsFile · 0.85
updateFunction · 0.85

Calls 1

destroyLastScopeFunction · 0.85

Tested by

no test coverage detected