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

Function inherit

test/angular/1.4/angular.js:503–505  ·  view source on GitHub ↗
(parent, extra)

Source from the content-addressed store, hash-verified

501
502
503function inherit(parent, extra) {
504 return extend(Object.create(parent), extra);
505}
506
507/**
508 * @ngdoc function

Callers 3

markDirectiveScopeFunction · 0.70
addDirectiveFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected