Move to handlebars.runtime.min

Since we do no longer allow to compile handlebars online because of the
CSP anyway. it makes sense to also move away from the full handlebars
suite 71kb vs 14kb

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/12988/head
Roeland Jago Douma 7 years ago
parent 12bd0f691a
commit 91ba494caf
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      core/js/core.json
  2. 4
      core/vendor/.gitignore
  3. 4
      core/vendor/core.js
  4. 29
      core/vendor/handlebars/handlebars.min.js
  5. 27
      core/vendor/handlebars/handlebars.runtime.min.js

@ -5,7 +5,7 @@
"jquery-ui/jquery-ui.min.js",
"underscore/underscore-min.js",
"moment/min/moment-with-locales.min.js",
"handlebars/handlebars.min.js",
"handlebars/handlebars.runtime.min.js",
"blueimp-md5/js/md5.min.js",
"bootstrap/js/tooltip.js",
"backbone/backbone.js",

@ -59,7 +59,7 @@ jsTimezoneDetect/jstz.min.js
# handlebars
handlebars/**
!handlebars/.bower.json
!handlebars/handlebars.min.js
!handlebars/handlebars.runtime.min.js
# select2
select2/**
@ -148,4 +148,4 @@ css-vars-ponyfill/**
!css-vars-ponyfill/dist
!css-vars-ponyfill/dist/css-vars-ponyfill.min.js
!css-vars-ponyfill/dist/css-vars-ponyfill.min.js.map
!css-vars-ponyfill/LICENSE
!css-vars-ponyfill/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save