MCPcopy
hub / github.com/angular-ui/ui-router / inherit

Function inherit

test/angular/1.7/angular.js:572–574  ·  view source on GitHub ↗
(parent, extra)

Source from the content-addressed store, hash-verified

570
571
572function inherit(parent, extra) {
573 return extend(Object.create(parent), extra);
574}
575
576/**
577 * @ngdoc function

Callers 3

markDirectiveScopeFunction · 0.70
addDirectiveFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected