From 87d39375d80b38295ae3c73fb56f33a4609a0803 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 17 Mar 2021 11:42:06 +0100 Subject: Fix comments filesplugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/comments/src/comments.js | 1 + apps/comments/src/templates.js | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 apps/comments/src/templates.js (limited to 'apps/comments/src') diff --git a/apps/comments/src/comments.js b/apps/comments/src/comments.js index 75bb97138c3..3d7f52f4e74 100644 --- a/apps/comments/src/comments.js +++ b/apps/comments/src/comments.js @@ -1,4 +1,5 @@ import './app' +import './templates' import './filesplugin' import './activitytabviewplugin' diff --git a/apps/comments/src/templates.js b/apps/comments/src/templates.js new file mode 100644 index 00000000000..6064854f084 --- /dev/null +++ b/apps/comments/src/templates.js @@ -0,0 +1,17 @@ +(function() { + var template = Handlebars.template, templates = OCA.Comments.Templates = OCA.Comments.Templates || {}; +templates['filesplugin'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) { + var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) { + if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { + return parent[propertyName]; + } + return undefined + }; + + return "\n \n\n"; +},"useData":true}); +})(); \ No newline at end of file -- cgit v1.2.3