Probably resolved issue #14

Could get some better improvements
This commit is contained in:
djmaze 2020-09-26 09:34:23 +02:00
parent 5e7f531c7f
commit 3a48cc8b7f
3 changed files with 60 additions and 58 deletions

2
dev/prototype.js vendored
View file

@ -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 = {