Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular-ui/ui-router
/ inherit
Function
inherit
test/angular/1.2/angular.js:446–448 ·
view source on GitHub ↗
(parent, extra)
Source
from the content-addressed store, hash-verified
444
445
446
function
inherit(parent, extra) {
447
return
extend(
new
(extend(
function
() {}, {prototype:parent}))(), extra);
448
}
449
450
/**
451
* @ngdoc
function
Callers
2
markDirectivesAsIsolate
Function · 0.70
addDirective
Function · 0.70
Calls
1
extend
Function · 0.70
Tested by
no test coverage detected