add build
This commit is contained in:
24
js/index.js
24
js/index.js
@@ -83,18 +83,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// render main shell
|
||||
MyApp.renderShell()
|
||||
})
|
||||
.then(function() {
|
||||
//setup routing
|
||||
page('/', MyApp.renderHomePage);
|
||||
page('/about', MyApp.renderAboutPage);
|
||||
page('/text', MyApp.renderTextPage);
|
||||
// language initialized
|
||||
|
||||
page({
|
||||
hashbang: true
|
||||
// render main shell
|
||||
MyApp.renderShell()
|
||||
.then(function() {
|
||||
//setup routing
|
||||
page('/', MyApp.renderHomePage);
|
||||
page('/about', MyApp.renderAboutPage);
|
||||
page('/text', MyApp.renderTextPage);
|
||||
|
||||
page({
|
||||
hashbang: true
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
})();
|
||||
|
Reference in New Issue
Block a user