diff -r a3bf10beb710 -r e0c7be5dc02c client/js/main.js --- a/client/js/main.js Tue Jun 02 16:43:45 2015 +0200 +++ b/client/js/main.js Wed Jun 03 17:27:46 2015 +0200 @@ -96,7 +96,7 @@ var _this = this; Rkns.__renkans.push(this); - + this.options = _.defaults(_opts, Rkns.defaults, { templates: renkanJST }); @@ -109,7 +109,9 @@ }); this.read_only = this.options.read_only || !this.options.editor_mode; - + + this.router = new Rkns.Router(); + this.project = new Rkns.Models.Project(); this.dataloader = new Rkns.DataLoader.Loader(this.project, this.options); @@ -297,7 +299,6 @@ this.$.find(".Rk-Bins-Search-Form").submit(function() { return false; }); - }; Renkan.prototype.translate = function(_text) {