CRLF to LF

This commit is contained in:
djmaze 2020-03-11 14:17:52 +01:00
parent 4468d5bd22
commit 6e0d0b3b6e
209 changed files with 23729 additions and 22109 deletions

View file

@ -1,8 +1,6 @@
import _ from '_';
import { Capa, MessageSetAction } from 'Common/Enums';
import { MessageSetAction } from 'Common/Enums';
import { trim, pInt, isArray } from 'Common/Utils';
import * as Links from 'Common/Links';
import * as Settings from 'Storage/Settings';
let FOLDERS_CACHE = {},
FOLDERS_NAME_CACHE = {},
@ -12,8 +10,7 @@ let FOLDERS_CACHE = {},
NEW_MESSAGE_CACHE = {},
inboxFolderName = '';
const REQUESTED_MESSAGE_CACHE = {},
capaGravatar = Settings.capa(Capa.Gravatar);
const REQUESTED_MESSAGE_CACHE = {};
/**
* @returns {void}
@ -33,7 +30,7 @@ export function clear() {
*/
export function getUserPic(email, callback) {
email = trim(email);
callback(capaGravatar && '' !== email ? Links.avatarLink(email) : '', email);
callback('', email);
}
/**

View file

@ -83,11 +83,6 @@ export const bDisableNanoScroll = bMobileDevice;
export const bAnimationSupported =
!bMobileDevice && $html.hasClass('csstransitions') && $html.hasClass('cssanimations');
/**
* @type {boolean}
*/
export const bXMLHttpRequestSupported = !!window.XMLHttpRequest;
/**
* @type {boolean}
*/