diff options
Diffstat (limited to 'new-reality/public/assets/js/app.js')
| -rw-r--r-- | new-reality/public/assets/js/app.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/new-reality/public/assets/js/app.js b/new-reality/public/assets/js/app.js index 91c02a4..25cfe65 100644 --- a/new-reality/public/assets/js/app.js +++ b/new-reality/public/assets/js/app.js @@ -29,15 +29,14 @@ var app = (function() { app.build = function(data) { window.scrollTo(0,0) environment.init() - corner.init() app.views = {} app.nav = new NavView () - app.views.home = new HomeView({ - data: data.home - }) - app.views.about = new AboutView({ - data: data.about - }) +// app.views.home = new HomeView({ +// data: data.home +// }) +// app.views.about = new AboutView({ +// data: data.about +// }) } app.ready = function() { @@ -46,8 +45,8 @@ var app = (function() { $("html").removeClass("loading") }, 50) app.view = null - app.router = new SiteRouter() - app.router.launch() +// app.router = new SiteRouter() +// app.router.launch() app.animate(0) } @@ -61,7 +60,6 @@ var app = (function() { var dt = t - last_t last_t = t environment.update(t, dt) - corner.update(t, dt) } app.resize = function () { |
