diff options
Diffstat (limited to 'ext/js')
| -rw-r--r-- | ext/js/templates/sandbox/template-renderer.js | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/ext/js/templates/sandbox/template-renderer.js b/ext/js/templates/sandbox/template-renderer.js index c3548b4f..7179f366 100644 --- a/ext/js/templates/sandbox/template-renderer.js +++ b/ext/js/templates/sandbox/template-renderer.js @@ -18,6 +18,7 @@  /* global   * Handlebars + * handlebarsCompileFnName   */  class TemplateRenderer { @@ -83,7 +84,7 @@ class TemplateRenderer {          let instance = cache.get(template);          if (typeof instance === 'undefined') {              this._updateCacheSize(this._cacheMaxSize - 1); -            instance = Handlebars.compile(template); +            instance = Handlebars[handlebarsCompileFnName](template);              cache.set(template, instance);          } |