mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Update dependencies and configurations
This commit is contained in:
parent
dbbc83e4c8
commit
a1562e7145
18 changed files with 732 additions and 633 deletions
15
dev/polyfills.js
Normal file
15
dev/polyfills.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import 'core-js/features/object/assign';
|
||||
import 'core-js/features/array/includes';
|
||||
import 'core-js/features/string/includes';
|
||||
import 'core-js/features/promise';
|
||||
import 'raf/polyfill';
|
||||
|
||||
/* eslint-disable no-undefined, consistent-return */
|
||||
const log = console && console.log ? console.log : undefined;
|
||||
console.log = log ? (...props) => {
|
||||
if (props && props[0] && 0 === props[0].indexOf('JQMIGRATE:')) {
|
||||
return;
|
||||
}
|
||||
|
||||
return log(...props);
|
||||
} : undefined;
|
||||
Loading…
Add table
Add a link
Reference in a new issue