Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenReservation/OpenReservation
/ ensure
Function
ensure
OpenReservation/wwwroot/Scripts/angular.js:1920–1922 ·
view source on GitHub ↗
(obj, name, factory)
Source
from the content-addressed store, hash-verified
1918
var
ngMinErr = minErr(
'ng'
);
1919
1920
function
ensure(obj, name, factory) {
1921
return
obj[name] || (obj[name] = factory());
1922
}
1923
1924
var
angular = ensure(window,
'angular'
, Object);
1925
Callers
1
setupModuleLoader
Function · 0.85
Calls
1
factory
Function · 0.85
Tested by
no test coverage detected