MCPcopy Create free account
hub / github.com/apache/struts-examples / inherit

Function inherit

rest-angular/src/main/webapp/js/lib/angular/angular.js:483–485  ·  view source on GitHub ↗
(parent, extra)

Source from the content-addressed store, hash-verified

481
482
483function inherit(parent, extra) {
484 return extend(Object.create(parent), extra);
485}
486
487/**
488 * @ngdoc function

Callers 3

markDirectiveScopeFunction · 0.70
addDirectiveFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 2

extendFunction · 0.70
createMethod · 0.45

Tested by

no test coverage detected