mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-29 01:36:44 +03:00
Use jQuery.slim
Underscore.js _.uniq(_.compact( to native Array.filter((value, index, self) => !!value && self.indexOf(value) == index) Underscore.js _.compact to native Array.filter(value => !!value) Underscore.js _.uniq to native Array.filter((value, index, self) => self.indexOf(value) == index) Underscore.js _.values to native Object.values Underscore.js _.flatten to native Array.flat Underscore.js _.union to native Array.concat + unique filter Underscore.js _.reduce to native Array.reduce Underscore.js _.escape replaced with advanced htmlspecialchars() Underscore.js _.memoize replaced Now Underscore.js is a slim custom version (only _.debounce, _.defer & _.throttle)
This commit is contained in:
parent
996a71ad8a
commit
dca0ff02ed
27 changed files with 515 additions and 353 deletions
|
|
@ -51,6 +51,12 @@ This fork has the following changes:
|
|||
* CRLF => LF line endings
|
||||
* Ongoing removal of jQuery and Underscore.js dependencies (things are native these days)
|
||||
|
||||
### slim jQuery and Underscore.js
|
||||
js: 1.14.0 = 7960367 / native = 5127981 bytes
|
||||
js/min: 1.14.0 = 1766594 / native = 1405850 bytes
|
||||
|
||||
360.744 bytes is nut much, but it already feels faster.
|
||||
|
||||
### PHP73 branch
|
||||
|
||||
There's a branch with only the PHP 7.3 changes at
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue