style(aio): rename const to camelCase

This commit is contained in:
Peter Bacon Darwin 2017-03-06 14:15:57 +00:00 committed by Igor Minar
parent b70c881c00
commit 0d6aa0caed
1 changed files with 2 additions and 2 deletions

View File

@ -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();