aboutsummaryrefslogtreecommitdiffstats
path: root/src/services.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-16 17:03:06 -0700
committerMisko Hevery2010-04-16 17:03:06 -0700
commit6470b48ce022885551e83c9f5fd8a90fbc6ff80e (patch)
tree36b189ea3fdb7ab2026d06fa5dd0961e51d881e0 /src/services.js
parentdeb86fe357a901889bc4289087f0b9e69cb8a302 (diff)
downloadangular.js-6470b48ce022885551e83c9f5fd8a90fbc6ff80e.tar.bz2
validation issues fixed
Diffstat (limited to 'src/services.js')
-rw-r--r--src/services.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/services.js b/src/services.js
index 1d3ba006..d98c0876 100644
--- a/src/services.js
+++ b/src/services.js
@@ -165,14 +165,12 @@ angularService('$route', function(location, params){
}
};
function updateRoute(){
- console.log('updating route');
var childScope;
$route.current = null;
angular.foreach(routes, function(routeParams, route) {
if (!childScope) {
var pathParams = matcher(location.hashPath, route);
if (pathParams) {
- console.log('new route', routeParams.template, location.hashPath, location.hash);
childScope = angular.scope(parentScope);
$route.current = angular.extend({}, routeParams, {
scope: childScope,