diff options
Diffstat (limited to 'src/service/route.js')
| -rw-r--r-- | src/service/route.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service/route.js b/src/service/route.js index 2de484f6..19fc81bf 100644 --- a/src/service/route.js +++ b/src/service/route.js @@ -196,14 +196,14 @@ angularServiceInject('$route', function(location, $updateView) { }); if (dstName) this.$set(dstName, dst); } - return match ? dst : _null; + return match ? dst : null; } function updateRoute(){ var childScope, routeParams, pathParams, segmentMatch, key, redir; - $route.current = _null; + $route.current = null; forEach(routes, function(rParams, rPath) { if (!pathParams) { if (pathParams = matcher(location.hashPath, rPath)) { @@ -213,7 +213,7 @@ angularServiceInject('$route', function(location, $updateView) { }); // "otherwise" fallback - routeParams = routeParams || routes[_null]; + routeParams = routeParams || routes[null]; if(routeParams) { if (routeParams.redirectTo) { |
