mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Code refactoring (5) (es5 -> es2015)
This commit is contained in:
parent
c148e19ea3
commit
cec53b111f
68 changed files with 2210 additions and 2472 deletions
|
|
@ -81,8 +81,11 @@ AbstractAjaxPromises.prototype.ajaxRequest = function(sAction, bPost, iTimeOut,
|
|||
timeout: iTimeOut,
|
||||
global: true
|
||||
}).always(function(oData, sTextStatus) {
|
||||
var
|
||||
bCached = false,
|
||||
oErrorData = null,
|
||||
sType = Enums.StorageResultType.Error;
|
||||
|
||||
var bCached = false, oErrorData = null, sType = Enums.StorageResultType.Error;
|
||||
if (oData && oData.Time)
|
||||
{
|
||||
bCached = Utils.pInt(oData.Time) > Utils.microtime() - iStart;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue