Removed PathJS dependency; refactored routing

This commit is contained in:
Marcin Kurczewski
2014-10-09 21:41:46 +02:00
parent 60ab927558
commit 6afd60feba
30 changed files with 293 additions and 262 deletions

View File

@ -12,7 +12,7 @@ App.Presenters.TopNavigationPresenter = function(
var templates = {};
var baseTitle = document.title;
function init(args, loaded) {
function init(params, loaded) {
promise.wait(util.promiseTemplate('top-navigation'))
.then(function(template) {
templates.topNavigation = template;