aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/location.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ng/location.js b/src/ng/location.js
index 7b0c6ec0..f4f77c2f 100644
--- a/src/ng/location.js
+++ b/src/ng/location.js
@@ -161,9 +161,6 @@ function LocationHashbangUrl(appBase, hashPrefix) {
*/
this.$$parse = function(url) {
var withoutBaseUrl = beginsWith(appBase, url) || beginsWith(appBaseNoFile, url);
- if (!isString(withoutBaseUrl)) {
- throw $locationMinErr('istart', 'Invalid url "{0}", does not start with "{1}".', url, appBase);
- }
var withoutHashUrl = withoutBaseUrl.charAt(0) == '#'
? beginsWith(hashPrefix, withoutBaseUrl)
: (this.$$html5)