Skip to content

Commit f2c5a1d

Browse files
committed
fix(routing) Do not timeout before setting up routes in ui-router (can't remember why it appeared necessary, but it doesn't seem to break anything). Closes #81
1 parent a1cddef commit f2c5a1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/services/fng-routes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ module fng.services {
103103
if (config.fixedRoutes) {
104104
_setUpUIRoutes(config.fixedRoutes);
105105
}
106-
setTimeout(function () {
107-
_setUpUIRoutes(builtInRoutes, config.prefix, options.add2fngRoutes);
108-
});
106+
_setUpUIRoutes(builtInRoutes, config.prefix, options.add2fngRoutes);
109107
break;
110108
}
111109
},

0 commit comments

Comments
 (0)