From 35aec525ef8ac6eb1e274e89627c5c04fbbaa3df Mon Sep 17 00:00:00 2001 From: Bryce Hanscomb Date: Sun, 4 Jan 2015 17:08:05 +1100 Subject: [PATCH] Move comment inside relevant function This is a functional workaround for https://github.com/6to5/6to5/issues/376 And makes the comment code-style more consistent with line 143 and line 463. --- src/ngRoute/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index ad7bbc710b48..56ec491a207e 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -607,8 +607,8 @@ function $RouteProvider() { return $q.all(locals); } }). - // after route change then(function(locals) { + // after route change if (nextRoute == $route.current) { if (nextRoute) { nextRoute.locals = locals;