mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
parent
5e7f531c7f
commit
3a48cc8b7f
3 changed files with 60 additions and 58 deletions
2
dev/prototype.js
vendored
2
dev/prototype.js
vendored
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
(w=>{
|
||||
Array.isNotEmpty = array => Array.isArray(array) && array.length;
|
||||
Array.prototype.unique((v, i, a) => a.indexOf(v) === i);
|
||||
Array.prototype.unique = function() { return this.filter((v, i, a) => a.indexOf(v) === i); };
|
||||
|
||||
// Import momentjs locales function
|
||||
w.moment = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue