aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute/routeUtils.js
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-10-10 09:11:21 +0100
committerIgor Minar2013-10-10 11:58:15 -0700
commit07272608d8ae39a5dd220cdb5637b1439342d5c3 (patch)
tree7f0140b96fac88eee30cf94e01a9589cd25c8b37 /src/ngRoute/routeUtils.js
parentb019a48bb1176f3c9ce29b628a321b6ffe873393 (diff)
downloadangular.js-07272608d8ae39a5dd220cdb5637b1439342d5c3.tar.bz2
fix(modules): stop leaking global variables in tests
The routeUtils.js file was declaring a number of functions that were leaking into other modules such as ngMocks causing tests to pass incorrectly. Closes #4360
Diffstat (limited to 'src/ngRoute/routeUtils.js')
-rw-r--r--src/ngRoute/routeUtils.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ngRoute/routeUtils.js b/src/ngRoute/routeUtils.js
deleted file mode 100644
index 0cff7213..00000000
--- a/src/ngRoute/routeUtils.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'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);
-}