Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Files
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-12-11 21:53:34 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-12-11 22:02:50 +0300
commit8942baf9f366b2d8acaa9d8d541d54782181cdcf (patch)
tree146b88ddfb07970f8ccc0ce3b408fa0669a56b87 /lib/Files
parentcb03c7e637797571f54f074817050a560677ee5b (diff)
Add full Handlebars library
In Nextcloud 16 the Handlebars library shipped in the server is no longer the full Handlebars library, but a trimmed down version that does not support compiling Handlebars templates at runtime. Currently Talk still needs to compile Handlebars templates at runtime, so for the time being the full Handlebars library that was included before in the server is now included in Talk. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/Files')
-rw-r--r--lib/Files/TemplateLoader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Files/TemplateLoader.php b/lib/Files/TemplateLoader.php
index a38b77663..6c70083dc 100644
--- a/lib/Files/TemplateLoader.php
+++ b/lib/Files/TemplateLoader.php
@@ -62,6 +62,7 @@ class TemplateLoader {
Util::addScript('spreed', 'vendor/backbone/backbone-min');
Util::addScript('spreed', 'vendor/backbone.radio/build/backbone.radio.min');
Util::addScript('spreed', 'vendor/backbone.marionette/lib/backbone.marionette.min');
+ Util::addScript('spreed', 'vendor/handlebars/handlebars.min');
Util::addScript('spreed', 'vendor/jshashes/hashes.min');
Util::addScript('spreed', 'vendor/Caret.js/dist/jquery.caret.min');
Util::addScript('spreed', 'vendor/At.js/dist/js/jquery.atwho.min');