created interface for RouteBuilder service
This commit is contained in:
parent
bee504d0ba
commit
37129687e3
8 changed files with 174 additions and 185 deletions
|
@ -1,4 +1,5 @@
|
|||
import * as Raven from 'raven-js';
|
||||
import { RouteBuilder } from './route-builder/route-builder.service';
|
||||
|
||||
|
||||
quayConfig.$inject = [
|
||||
|
@ -57,10 +58,9 @@ export function quayConfig(
|
|||
// index rule to make sure that deep links directly deep into the app continue to work.
|
||||
// WARNING WARNING WARNING
|
||||
|
||||
var layoutProfile = 'layout';
|
||||
console.log('Using layout profile: ' + layoutProfile);
|
||||
var layoutProfile: string = 'layout';
|
||||
|
||||
var routeBuilder = new RouteBuilderProvider.$get()($routeProvider, pages, [
|
||||
var routeBuilder: RouteBuilder = new RouteBuilderProvider.$get()($routeProvider, pages, [
|
||||
// Start with the old pages (if we asked for it).
|
||||
{id: 'old-layout', templatePath: '/static/partials/'},
|
||||
|
||||
|
|
Reference in a new issue