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

Function inherit

test/angular/1.3/angular.js:431–433  ·  view source on GitHub ↗
(parent, extra)

Source from the content-addressed store, hash-verified

429
430
431function inherit(parent, extra) {
432 return extend(Object.create(parent), extra);
433}
434
435/**
436 * @ngdoc function

Callers 3

markDirectivesAsIsolateFunction · 0.70
addDirectiveFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected