aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/routeUtils.js
blob: 0cff72133329349f02d13727fe55a1f746be4358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict';

var copy = angular.copy,
    equals = angular.equals,
    extend = angular.extend,
    forEach = angular.forEach,
    isDefined = angular.isDefined,
    isFunction = angular.isFunction,
    isString = angular.isString,
    jqLite = angular.element,
    noop = angular.noop,
    toJson = angular.toJson;


function inherit(parent, extra) {
  return extend(new (extend(function() {}, {prototype:parent}))(), extra);
}