diff -r 61c45e41a515 -r eaaa1efce396 client/js/main.js --- a/client/js/main.js Tue Oct 04 16:40:25 2016 +0200 +++ b/client/js/main.js Thu Jan 05 16:26:07 2017 +0100 @@ -101,7 +101,7 @@ templates: _.defaults(_opts.templates, renkanJST) || renkanJST, node_editor_templates: _.defaults(_opts.node_editor_templates, Rkns.defaults.node_editor_templates) }); - this.template = renkanJST['templates/main.html']; + this.template = this.options.templates['templates/main.html']; var types_templates = {}; _.each(this.options.node_editor_templates, function(value, key) { @@ -152,7 +152,7 @@ }); this.colorPicker = (function() { - var _tmpl = renkanJST['templates/colorpicker.html']; + var _tmpl = _this.options.templates['templates/colorpicker.html']; return '