docs(routing-nav): copy edits (#3336)
This commit is contained in:
parent
4dbd920d46
commit
dfd360dc12
|
@ -10,7 +10,7 @@ export class SelectivePreloadingStrategy implements PreloadingStrategy {
|
||||||
|
|
||||||
preload(route: Route, load: () => Observable<any>): Observable<any> {
|
preload(route: Route, load: () => Observable<any>): Observable<any> {
|
||||||
if (route.data && route.data['preload']) {
|
if (route.data && route.data['preload']) {
|
||||||
// add the route path to our preloaded module array
|
// add the route path to the preloaded module array
|
||||||
this.preloadedModules.push(route.path);
|
this.preloadedModules.push(route.path);
|
||||||
|
|
||||||
// log the route path to the console
|
// log the route path to the console
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue