Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular-ui/ui-grid
/ ensure
Function
ensure
lib/test/angular/1.5.0/angular.js:1938–1940 ·
view source on GitHub ↗
(obj, name, factory)
Source
from the content-addressed store, hash-verified
1936
var
ngMinErr = minErr(
'ng'
);
1937
1938
function
ensure(obj, name, factory) {
1939
return
obj[name] || (obj[name] = factory());
1940
}
1941
1942
var
angular = ensure(window,
'angular'
, Object);
1943
Callers
1
setupModuleLoader
Function · 0.70
Calls
1
factory
Function · 0.70
Tested by
no test coverage detected