diff --git a/js/controller/ActivityController.js b/js/controller/ActivityController.js index 30a786432..cfb348cc5 100644 --- a/js/controller/ActivityController.js +++ b/js/controller/ActivityController.js @@ -20,7 +20,7 @@ * */ -/* global OC OCA OCP t escapeHTML */ +/* global OC OCA OCP t escapeHTML Handlebars */ import CommentCollection from '../legacy/commentcollection'; import CommentModel from '../legacy/commentmodel'; @@ -67,17 +67,17 @@ class ActivityController { if (typeof OCA.Activity.Templates !== 'undefined') { OCA.Activity.Templates.userLocal = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper; - // Compiled handlesbars template - // ' {{ name }}'; - return " " - + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"name","hash":{},"data":data}) : helper))) - + ""; - },"useData":true}); + var helper; + // Compiled handlesbars template + // ' {{ name }}'; + return " " + + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"name","hash":{},"data":data}) : helper))) + + ""; + },"useData":true}); } else { OCA.Activity.RichObjectStringParser._userLocalTemplate = ' {{ name }}'; }