MCPcopy 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
446function inherit(parent, extra) {
447 return extend(new (extend(function() {}, {prototype:parent}))(), extra);
448}
449
450/**
451 * @ngdoc function

Callers 2

markDirectivesAsIsolateFunction · 0.70
addDirectiveFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected