style(aio): rename const to camelCase
This commit is contained in:
parent
b70c881c00
commit
0d6aa0caed
|
@ -25,7 +25,7 @@ export interface NavigationMapItem {
|
||||||
parents: NavigationNode[];
|
parents: NavigationNode[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const NAVIGATION_PATH = 'content/navigation.json';
|
const navigationPath = 'content/navigation.json';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class NavigationService {
|
export class NavigationService {
|
||||||
|
@ -36,7 +36,7 @@ export class NavigationService {
|
||||||
constructor(private http: Http, private location: LocationService, private logger: Logger) { }
|
constructor(private http: Http, private location: LocationService, private logger: Logger) { }
|
||||||
|
|
||||||
private fetchNavigation(): Observable<NavigationViews> {
|
private fetchNavigation(): Observable<NavigationViews> {
|
||||||
const response = this.http.get(NAVIGATION_PATH)
|
const response = this.http.get(navigationPath)
|
||||||
.map(res => res.json() as NavigationViews)
|
.map(res => res.json() as NavigationViews)
|
||||||
.publishLast();
|
.publishLast();
|
||||||
response.connect();
|
response.connect();
|
||||||
|
|
Loading…
Reference in New Issue