Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
fix(all): update source to work with jspm beta
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Aug 4, 2015
1 parent 686b337 commit 53f5cf1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app.html
@@ -1,5 +1,5 @@
<template>
<require from='./nav-bar'></require>
<require from='nav-bar'></require>

<nav-bar router.bind="router"></nav-bar>

Expand Down
6 changes: 3 additions & 3 deletions src/app.js
Expand Up @@ -5,9 +5,9 @@ export class App {
configureRouter(config, router){
config.title = 'Aurelia';
config.map([
{ route: ['','welcome'], name: 'welcome', moduleId: './welcome', nav: true, title:'Welcome' },
{ route: 'users', name: 'users', moduleId: './users', nav: true, title:'Github Users' },
{ route: 'child-router', name: 'child-router', moduleId: './child-router', nav: true, title:'Child Router' }
{ route: ['','welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title:'Welcome' },
{ route: 'users', name: 'users', moduleId: 'users', nav: true, title:'Github Users' },
{ route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title:'Child Router' }
]);

this.router = router;
Expand Down
6 changes: 3 additions & 3 deletions src/child-router.js
Expand Up @@ -3,9 +3,9 @@ export class ChildRouter{

configureRouter(config, router){
config.map([
{ route: ['','welcome'], name: 'welcome', moduleId: './welcome', nav: true, title:'Welcome' },
{ route: 'users', name: 'users', moduleId: './users', nav: true, title:'Github Users' },
{ route: 'child-router', name: 'child-router', moduleId: './child-router', nav: true, title:'Child Router' }
{ route: ['','welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title:'Welcome' },
{ route: 'users', name: 'users', moduleId: 'users', nav: true, title:'Github Users' },
{ route: 'child-router', name: 'child-router', moduleId: 'child-router', nav: true, title:'Child Router' }
]);

this.router = router;
Expand Down
2 changes: 1 addition & 1 deletion src/users.html
@@ -1,5 +1,5 @@
<template>
<require from="./blur-image"></require>
<require from="blur-image"></require>

<section class="au-animate">
<h2>${heading}</h2>
Expand Down

0 comments on commit 53f5cf1

Please sign in to comment.