Files
old-ribica/front-ui/app/app.js
2015-01-22 22:20:34 +01:00

15 lines
321 B
JavaScript

var Router = require('./router'),
Backbone = require('backbone');
var App = function() {
this.bootstrap = function() {
// here goes all app initialization and bootstraping logic
this.router = new Router();
Backbone.history.start();
};
};
var app = new App();
module.exports = app;