This commit is contained in:
parent
a2f75ea49d
commit
8b91502ab5
21 changed files with 267 additions and 165 deletions
|
|
@ -2,7 +2,7 @@ import * as riot from 'riot';
|
|||
import * as route from 'page';
|
||||
let page = null;
|
||||
|
||||
export default me => {
|
||||
export default () => {
|
||||
route('/', index);
|
||||
route('/apps', apps);
|
||||
route('/app/new', newApp);
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import route from './router';
|
|||
/**
|
||||
* init
|
||||
*/
|
||||
init(me => {
|
||||
init(() => {
|
||||
// Start routing
|
||||
route(me);
|
||||
route();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue