diff -r 823e8f1d26f7 -r 05ed0d95a511 client/js/main.js --- a/client/js/main.js Fri Apr 24 11:12:23 2015 +0200 +++ b/client/js/main.js Fri Apr 24 11:13:16 2015 +0200 @@ -98,6 +98,7 @@ Rkns.__renkans.push(this); this.options = _.defaults(_opts, Rkns.defaults, {templates: renkanJST}); + this.template = renkanJST['templates/main.html']; _(this.options.property_files).each(function(f) { Rkns.$.getJSON(f, function(data) { @@ -287,17 +288,6 @@ }; -Renkan.prototype.template = _.template( - '<% if (options.show_bins) { %>

<%- translate("Select contents:")%>

' + - '
" />' + - '
    ' + - '" />
    ' + - '
    " />' + - '" />
    ' + - '
    <% } %>' + - '<% if (options.show_editor) { %>
    <% } %>' -); - Renkan.prototype.translate = function(_text) { if (Rkns.i18n[this.options.language] && Rkns.i18n[this.options.language][_text]) { return Rkns.i18n[this.options.language][_text];