Edit File by line
/home/barbar84/www/wp-inclu.../js/dist/vendor
File: moment.js
//! moment.js
[0] Fix | Delete
//! version : 2.27.0
[1] Fix | Delete
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
[2] Fix | Delete
//! license : MIT
[3] Fix | Delete
//! momentjs.com
[4] Fix | Delete
[5] Fix | Delete
;(function (global, factory) {
[6] Fix | Delete
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
[7] Fix | Delete
typeof define === 'function' && define.amd ? define(factory) :
[8] Fix | Delete
global.moment = factory()
[9] Fix | Delete
}(this, (function () { 'use strict';
[10] Fix | Delete
[11] Fix | Delete
var hookCallback;
[12] Fix | Delete
[13] Fix | Delete
function hooks() {
[14] Fix | Delete
return hookCallback.apply(null, arguments);
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
// This is done to register the method called with moment()
[18] Fix | Delete
// without creating circular dependencies.
[19] Fix | Delete
function setHookCallback(callback) {
[20] Fix | Delete
hookCallback = callback;
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
function isArray(input) {
[24] Fix | Delete
return (
[25] Fix | Delete
input instanceof Array ||
[26] Fix | Delete
Object.prototype.toString.call(input) === '[object Array]'
[27] Fix | Delete
);
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
function isObject(input) {
[31] Fix | Delete
// IE8 will treat undefined and null as object if it wasn't for
[32] Fix | Delete
// input != null
[33] Fix | Delete
return (
[34] Fix | Delete
input != null &&
[35] Fix | Delete
Object.prototype.toString.call(input) === '[object Object]'
[36] Fix | Delete
);
[37] Fix | Delete
}
[38] Fix | Delete
[39] Fix | Delete
function hasOwnProp(a, b) {
[40] Fix | Delete
return Object.prototype.hasOwnProperty.call(a, b);
[41] Fix | Delete
}
[42] Fix | Delete
[43] Fix | Delete
function isObjectEmpty(obj) {
[44] Fix | Delete
if (Object.getOwnPropertyNames) {
[45] Fix | Delete
return Object.getOwnPropertyNames(obj).length === 0;
[46] Fix | Delete
} else {
[47] Fix | Delete
var k;
[48] Fix | Delete
for (k in obj) {
[49] Fix | Delete
if (hasOwnProp(obj, k)) {
[50] Fix | Delete
return false;
[51] Fix | Delete
}
[52] Fix | Delete
}
[53] Fix | Delete
return true;
[54] Fix | Delete
}
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
function isUndefined(input) {
[58] Fix | Delete
return input === void 0;
[59] Fix | Delete
}
[60] Fix | Delete
[61] Fix | Delete
function isNumber(input) {
[62] Fix | Delete
return (
[63] Fix | Delete
typeof input === 'number' ||
[64] Fix | Delete
Object.prototype.toString.call(input) === '[object Number]'
[65] Fix | Delete
);
[66] Fix | Delete
}
[67] Fix | Delete
[68] Fix | Delete
function isDate(input) {
[69] Fix | Delete
return (
[70] Fix | Delete
input instanceof Date ||
[71] Fix | Delete
Object.prototype.toString.call(input) === '[object Date]'
[72] Fix | Delete
);
[73] Fix | Delete
}
[74] Fix | Delete
[75] Fix | Delete
function map(arr, fn) {
[76] Fix | Delete
var res = [],
[77] Fix | Delete
i;
[78] Fix | Delete
for (i = 0; i < arr.length; ++i) {
[79] Fix | Delete
res.push(fn(arr[i], i));
[80] Fix | Delete
}
[81] Fix | Delete
return res;
[82] Fix | Delete
}
[83] Fix | Delete
[84] Fix | Delete
function extend(a, b) {
[85] Fix | Delete
for (var i in b) {
[86] Fix | Delete
if (hasOwnProp(b, i)) {
[87] Fix | Delete
a[i] = b[i];
[88] Fix | Delete
}
[89] Fix | Delete
}
[90] Fix | Delete
[91] Fix | Delete
if (hasOwnProp(b, 'toString')) {
[92] Fix | Delete
a.toString = b.toString;
[93] Fix | Delete
}
[94] Fix | Delete
[95] Fix | Delete
if (hasOwnProp(b, 'valueOf')) {
[96] Fix | Delete
a.valueOf = b.valueOf;
[97] Fix | Delete
}
[98] Fix | Delete
[99] Fix | Delete
return a;
[100] Fix | Delete
}
[101] Fix | Delete
[102] Fix | Delete
function createUTC(input, format, locale, strict) {
[103] Fix | Delete
return createLocalOrUTC(input, format, locale, strict, true).utc();
[104] Fix | Delete
}
[105] Fix | Delete
[106] Fix | Delete
function defaultParsingFlags() {
[107] Fix | Delete
// We need to deep clone this object.
[108] Fix | Delete
return {
[109] Fix | Delete
empty: false,
[110] Fix | Delete
unusedTokens: [],
[111] Fix | Delete
unusedInput: [],
[112] Fix | Delete
overflow: -2,
[113] Fix | Delete
charsLeftOver: 0,
[114] Fix | Delete
nullInput: false,
[115] Fix | Delete
invalidEra: null,
[116] Fix | Delete
invalidMonth: null,
[117] Fix | Delete
invalidFormat: false,
[118] Fix | Delete
userInvalidated: false,
[119] Fix | Delete
iso: false,
[120] Fix | Delete
parsedDateParts: [],
[121] Fix | Delete
era: null,
[122] Fix | Delete
meridiem: null,
[123] Fix | Delete
rfc2822: false,
[124] Fix | Delete
weekdayMismatch: false,
[125] Fix | Delete
};
[126] Fix | Delete
}
[127] Fix | Delete
[128] Fix | Delete
function getParsingFlags(m) {
[129] Fix | Delete
if (m._pf == null) {
[130] Fix | Delete
m._pf = defaultParsingFlags();
[131] Fix | Delete
}
[132] Fix | Delete
return m._pf;
[133] Fix | Delete
}
[134] Fix | Delete
[135] Fix | Delete
var some;
[136] Fix | Delete
if (Array.prototype.some) {
[137] Fix | Delete
some = Array.prototype.some;
[138] Fix | Delete
} else {
[139] Fix | Delete
some = function (fun) {
[140] Fix | Delete
var t = Object(this),
[141] Fix | Delete
len = t.length >>> 0,
[142] Fix | Delete
i;
[143] Fix | Delete
[144] Fix | Delete
for (i = 0; i < len; i++) {
[145] Fix | Delete
if (i in t && fun.call(this, t[i], i, t)) {
[146] Fix | Delete
return true;
[147] Fix | Delete
}
[148] Fix | Delete
}
[149] Fix | Delete
[150] Fix | Delete
return false;
[151] Fix | Delete
};
[152] Fix | Delete
}
[153] Fix | Delete
[154] Fix | Delete
function isValid(m) {
[155] Fix | Delete
if (m._isValid == null) {
[156] Fix | Delete
var flags = getParsingFlags(m),
[157] Fix | Delete
parsedParts = some.call(flags.parsedDateParts, function (i) {
[158] Fix | Delete
return i != null;
[159] Fix | Delete
}),
[160] Fix | Delete
isNowValid =
[161] Fix | Delete
!isNaN(m._d.getTime()) &&
[162] Fix | Delete
flags.overflow < 0 &&
[163] Fix | Delete
!flags.empty &&
[164] Fix | Delete
!flags.invalidEra &&
[165] Fix | Delete
!flags.invalidMonth &&
[166] Fix | Delete
!flags.invalidWeekday &&
[167] Fix | Delete
!flags.weekdayMismatch &&
[168] Fix | Delete
!flags.nullInput &&
[169] Fix | Delete
!flags.invalidFormat &&
[170] Fix | Delete
!flags.userInvalidated &&
[171] Fix | Delete
(!flags.meridiem || (flags.meridiem && parsedParts));
[172] Fix | Delete
[173] Fix | Delete
if (m._strict) {
[174] Fix | Delete
isNowValid =
[175] Fix | Delete
isNowValid &&
[176] Fix | Delete
flags.charsLeftOver === 0 &&
[177] Fix | Delete
flags.unusedTokens.length === 0 &&
[178] Fix | Delete
flags.bigHour === undefined;
[179] Fix | Delete
}
[180] Fix | Delete
[181] Fix | Delete
if (Object.isFrozen == null || !Object.isFrozen(m)) {
[182] Fix | Delete
m._isValid = isNowValid;
[183] Fix | Delete
} else {
[184] Fix | Delete
return isNowValid;
[185] Fix | Delete
}
[186] Fix | Delete
}
[187] Fix | Delete
return m._isValid;
[188] Fix | Delete
}
[189] Fix | Delete
[190] Fix | Delete
function createInvalid(flags) {
[191] Fix | Delete
var m = createUTC(NaN);
[192] Fix | Delete
if (flags != null) {
[193] Fix | Delete
extend(getParsingFlags(m), flags);
[194] Fix | Delete
} else {
[195] Fix | Delete
getParsingFlags(m).userInvalidated = true;
[196] Fix | Delete
}
[197] Fix | Delete
[198] Fix | Delete
return m;
[199] Fix | Delete
}
[200] Fix | Delete
[201] Fix | Delete
// Plugins that add properties should also add the key here (null value),
[202] Fix | Delete
// so we can properly clone ourselves.
[203] Fix | Delete
var momentProperties = (hooks.momentProperties = []),
[204] Fix | Delete
updateInProgress = false;
[205] Fix | Delete
[206] Fix | Delete
function copyConfig(to, from) {
[207] Fix | Delete
var i, prop, val;
[208] Fix | Delete
[209] Fix | Delete
if (!isUndefined(from._isAMomentObject)) {
[210] Fix | Delete
to._isAMomentObject = from._isAMomentObject;
[211] Fix | Delete
}
[212] Fix | Delete
if (!isUndefined(from._i)) {
[213] Fix | Delete
to._i = from._i;
[214] Fix | Delete
}
[215] Fix | Delete
if (!isUndefined(from._f)) {
[216] Fix | Delete
to._f = from._f;
[217] Fix | Delete
}
[218] Fix | Delete
if (!isUndefined(from._l)) {
[219] Fix | Delete
to._l = from._l;
[220] Fix | Delete
}
[221] Fix | Delete
if (!isUndefined(from._strict)) {
[222] Fix | Delete
to._strict = from._strict;
[223] Fix | Delete
}
[224] Fix | Delete
if (!isUndefined(from._tzm)) {
[225] Fix | Delete
to._tzm = from._tzm;
[226] Fix | Delete
}
[227] Fix | Delete
if (!isUndefined(from._isUTC)) {
[228] Fix | Delete
to._isUTC = from._isUTC;
[229] Fix | Delete
}
[230] Fix | Delete
if (!isUndefined(from._offset)) {
[231] Fix | Delete
to._offset = from._offset;
[232] Fix | Delete
}
[233] Fix | Delete
if (!isUndefined(from._pf)) {
[234] Fix | Delete
to._pf = getParsingFlags(from);
[235] Fix | Delete
}
[236] Fix | Delete
if (!isUndefined(from._locale)) {
[237] Fix | Delete
to._locale = from._locale;
[238] Fix | Delete
}
[239] Fix | Delete
[240] Fix | Delete
if (momentProperties.length > 0) {
[241] Fix | Delete
for (i = 0; i < momentProperties.length; i++) {
[242] Fix | Delete
prop = momentProperties[i];
[243] Fix | Delete
val = from[prop];
[244] Fix | Delete
if (!isUndefined(val)) {
[245] Fix | Delete
to[prop] = val;
[246] Fix | Delete
}
[247] Fix | Delete
}
[248] Fix | Delete
}
[249] Fix | Delete
[250] Fix | Delete
return to;
[251] Fix | Delete
}
[252] Fix | Delete
[253] Fix | Delete
// Moment prototype object
[254] Fix | Delete
function Moment(config) {
[255] Fix | Delete
copyConfig(this, config);
[256] Fix | Delete
this._d = new Date(config._d != null ? config._d.getTime() : NaN);
[257] Fix | Delete
if (!this.isValid()) {
[258] Fix | Delete
this._d = new Date(NaN);
[259] Fix | Delete
}
[260] Fix | Delete
// Prevent infinite loop in case updateOffset creates new moment
[261] Fix | Delete
// objects.
[262] Fix | Delete
if (updateInProgress === false) {
[263] Fix | Delete
updateInProgress = true;
[264] Fix | Delete
hooks.updateOffset(this);
[265] Fix | Delete
updateInProgress = false;
[266] Fix | Delete
}
[267] Fix | Delete
}
[268] Fix | Delete
[269] Fix | Delete
function isMoment(obj) {
[270] Fix | Delete
return (
[271] Fix | Delete
obj instanceof Moment || (obj != null && obj._isAMomentObject != null)
[272] Fix | Delete
);
[273] Fix | Delete
}
[274] Fix | Delete
[275] Fix | Delete
function warn(msg) {
[276] Fix | Delete
if (
[277] Fix | Delete
hooks.suppressDeprecationWarnings === false &&
[278] Fix | Delete
typeof console !== 'undefined' &&
[279] Fix | Delete
console.warn
[280] Fix | Delete
) {
[281] Fix | Delete
console.warn('Deprecation warning: ' + msg);
[282] Fix | Delete
}
[283] Fix | Delete
}
[284] Fix | Delete
[285] Fix | Delete
function deprecate(msg, fn) {
[286] Fix | Delete
var firstTime = true;
[287] Fix | Delete
[288] Fix | Delete
return extend(function () {
[289] Fix | Delete
if (hooks.deprecationHandler != null) {
[290] Fix | Delete
hooks.deprecationHandler(null, msg);
[291] Fix | Delete
}
[292] Fix | Delete
if (firstTime) {
[293] Fix | Delete
var args = [],
[294] Fix | Delete
arg,
[295] Fix | Delete
i,
[296] Fix | Delete
key;
[297] Fix | Delete
for (i = 0; i < arguments.length; i++) {
[298] Fix | Delete
arg = '';
[299] Fix | Delete
if (typeof arguments[i] === 'object') {
[300] Fix | Delete
arg += '\n[' + i + '] ';
[301] Fix | Delete
for (key in arguments[0]) {
[302] Fix | Delete
if (hasOwnProp(arguments[0], key)) {
[303] Fix | Delete
arg += key + ': ' + arguments[0][key] + ', ';
[304] Fix | Delete
}
[305] Fix | Delete
}
[306] Fix | Delete
arg = arg.slice(0, -2); // Remove trailing comma and space
[307] Fix | Delete
} else {
[308] Fix | Delete
arg = arguments[i];
[309] Fix | Delete
}
[310] Fix | Delete
args.push(arg);
[311] Fix | Delete
}
[312] Fix | Delete
warn(
[313] Fix | Delete
msg +
[314] Fix | Delete
'\nArguments: ' +
[315] Fix | Delete
Array.prototype.slice.call(args).join('') +
[316] Fix | Delete
'\n' +
[317] Fix | Delete
new Error().stack
[318] Fix | Delete
);
[319] Fix | Delete
firstTime = false;
[320] Fix | Delete
}
[321] Fix | Delete
return fn.apply(this, arguments);
[322] Fix | Delete
}, fn);
[323] Fix | Delete
}
[324] Fix | Delete
[325] Fix | Delete
var deprecations = {};
[326] Fix | Delete
[327] Fix | Delete
function deprecateSimple(name, msg) {
[328] Fix | Delete
if (hooks.deprecationHandler != null) {
[329] Fix | Delete
hooks.deprecationHandler(name, msg);
[330] Fix | Delete
}
[331] Fix | Delete
if (!deprecations[name]) {
[332] Fix | Delete
warn(msg);
[333] Fix | Delete
deprecations[name] = true;
[334] Fix | Delete
}
[335] Fix | Delete
}
[336] Fix | Delete
[337] Fix | Delete
hooks.suppressDeprecationWarnings = false;
[338] Fix | Delete
hooks.deprecationHandler = null;
[339] Fix | Delete
[340] Fix | Delete
function isFunction(input) {
[341] Fix | Delete
return (
[342] Fix | Delete
(typeof Function !== 'undefined' && input instanceof Function) ||
[343] Fix | Delete
Object.prototype.toString.call(input) === '[object Function]'
[344] Fix | Delete
);
[345] Fix | Delete
}
[346] Fix | Delete
[347] Fix | Delete
function set(config) {
[348] Fix | Delete
var prop, i;
[349] Fix | Delete
for (i in config) {
[350] Fix | Delete
if (hasOwnProp(config, i)) {
[351] Fix | Delete
prop = config[i];
[352] Fix | Delete
if (isFunction(prop)) {
[353] Fix | Delete
this[i] = prop;
[354] Fix | Delete
} else {
[355] Fix | Delete
this['_' + i] = prop;
[356] Fix | Delete
}
[357] Fix | Delete
}
[358] Fix | Delete
}
[359] Fix | Delete
this._config = config;
[360] Fix | Delete
// Lenient ordinal parsing accepts just a number in addition to
[361] Fix | Delete
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
[362] Fix | Delete
// TODO: Remove "ordinalParse" fallback in next major release.
[363] Fix | Delete
this._dayOfMonthOrdinalParseLenient = new RegExp(
[364] Fix | Delete
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
[365] Fix | Delete
'|' +
[366] Fix | Delete
/\d{1,2}/.source
[367] Fix | Delete
);
[368] Fix | Delete
}
[369] Fix | Delete
[370] Fix | Delete
function mergeConfigs(parentConfig, childConfig) {
[371] Fix | Delete
var res = extend({}, parentConfig),
[372] Fix | Delete
prop;
[373] Fix | Delete
for (prop in childConfig) {
[374] Fix | Delete
if (hasOwnProp(childConfig, prop)) {
[375] Fix | Delete
if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
[376] Fix | Delete
res[prop] = {};
[377] Fix | Delete
extend(res[prop], parentConfig[prop]);
[378] Fix | Delete
extend(res[prop], childConfig[prop]);
[379] Fix | Delete
} else if (childConfig[prop] != null) {
[380] Fix | Delete
res[prop] = childConfig[prop];
[381] Fix | Delete
} else {
[382] Fix | Delete
delete res[prop];
[383] Fix | Delete
}
[384] Fix | Delete
}
[385] Fix | Delete
}
[386] Fix | Delete
for (prop in parentConfig) {
[387] Fix | Delete
if (
[388] Fix | Delete
hasOwnProp(parentConfig, prop) &&
[389] Fix | Delete
!hasOwnProp(childConfig, prop) &&
[390] Fix | Delete
isObject(parentConfig[prop])
[391] Fix | Delete
) {
[392] Fix | Delete
// make sure changes to properties don't modify parent config
[393] Fix | Delete
res[prop] = extend({}, res[prop]);
[394] Fix | Delete
}
[395] Fix | Delete
}
[396] Fix | Delete
return res;
[397] Fix | Delete
}
[398] Fix | Delete
[399] Fix | Delete
function Locale(config) {
[400] Fix | Delete
if (config != null) {
[401] Fix | Delete
this.set(config);
[402] Fix | Delete
}
[403] Fix | Delete
}
[404] Fix | Delete
[405] Fix | Delete
var keys;
[406] Fix | Delete
[407] Fix | Delete
if (Object.keys) {
[408] Fix | Delete
keys = Object.keys;
[409] Fix | Delete
} else {
[410] Fix | Delete
keys = function (obj) {
[411] Fix | Delete
var i,
[412] Fix | Delete
res = [];
[413] Fix | Delete
for (i in obj) {
[414] Fix | Delete
if (hasOwnProp(obj, i)) {
[415] Fix | Delete
res.push(i);
[416] Fix | Delete
}
[417] Fix | Delete
}
[418] Fix | Delete
return res;
[419] Fix | Delete
};
[420] Fix | Delete
}
[421] Fix | Delete
[422] Fix | Delete
var defaultCalendar = {
[423] Fix | Delete
sameDay: '[Today at] LT',
[424] Fix | Delete
nextDay: '[Tomorrow at] LT',
[425] Fix | Delete
nextWeek: 'dddd [at] LT',
[426] Fix | Delete
lastDay: '[Yesterday at] LT',
[427] Fix | Delete
lastWeek: '[Last] dddd [at] LT',
[428] Fix | Delete
sameElse: 'L',
[429] Fix | Delete
};
[430] Fix | Delete
[431] Fix | Delete
function calendar(key, mom, now) {
[432] Fix | Delete
var output = this._calendar[key] || this._calendar['sameElse'];
[433] Fix | Delete
return isFunction(output) ? output.call(mom, now) : output;
[434] Fix | Delete
}
[435] Fix | Delete
[436] Fix | Delete
function zeroFill(number, targetLength, forceSign) {
[437] Fix | Delete
var absNumber = '' + Math.abs(number),
[438] Fix | Delete
zerosToFill = targetLength - absNumber.length,
[439] Fix | Delete
sign = number >= 0;
[440] Fix | Delete
return (
[441] Fix | Delete
(sign ? (forceSign ? '+' : '') : '-') +
[442] Fix | Delete
Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +
[443] Fix | Delete
absNumber
[444] Fix | Delete
);
[445] Fix | Delete
}
[446] Fix | Delete
[447] Fix | Delete
var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
[448] Fix | Delete
localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
[449] Fix | Delete
formatFunctions = {},
[450] Fix | Delete
formatTokenFunctions = {};
[451] Fix | Delete
[452] Fix | Delete
// token: 'M'
[453] Fix | Delete
// padded: ['MM', 2]
[454] Fix | Delete
// ordinal: 'Mo'
[455] Fix | Delete
// callback: function () { this.month() + 1 }
[456] Fix | Delete
function addFormatToken(token, padded, ordinal, callback) {
[457] Fix | Delete
var func = callback;
[458] Fix | Delete
if (typeof callback === 'string') {
[459] Fix | Delete
func = function () {
[460] Fix | Delete
return this[callback]();
[461] Fix | Delete
};
[462] Fix | Delete
}
[463] Fix | Delete
if (token) {
[464] Fix | Delete
formatTokenFunctions[token] = func;
[465] Fix | Delete
}
[466] Fix | Delete
if (padded) {
[467] Fix | Delete
formatTokenFunctions[padded[0]] = function () {
[468] Fix | Delete
return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
[469] Fix | Delete
};
[470] Fix | Delete
}
[471] Fix | Delete
if (ordinal) {
[472] Fix | Delete
formatTokenFunctions[ordinal] = function () {
[473] Fix | Delete
return this.localeData().ordinal(
[474] Fix | Delete
func.apply(this, arguments),
[475] Fix | Delete
token
[476] Fix | Delete
);
[477] Fix | Delete
};
[478] Fix | Delete
}
[479] Fix | Delete
}
[480] Fix | Delete
[481] Fix | Delete
function removeFormattingTokens(input) {
[482] Fix | Delete
if (input.match(/\[[\s\S]/)) {
[483] Fix | Delete
return input.replace(/^\[|\]$/g, '');
[484] Fix | Delete
}
[485] Fix | Delete
return input.replace(/\\/g, '');
[486] Fix | Delete
}
[487] Fix | Delete
[488] Fix | Delete
function makeFormatFunction(format) {
[489] Fix | Delete
var array = format.match(formattingTokens),
[490] Fix | Delete
i,
[491] Fix | Delete
length;
[492] Fix | Delete
[493] Fix | Delete
for (i = 0, length = array.length; i < length; i++) {
[494] Fix | Delete
if (formatTokenFunctions[array[i]]) {
[495] Fix | Delete
array[i] = formatTokenFunctions[array[i]];
[496] Fix | Delete
} else {
[497] Fix | Delete
array[i] = removeFormattingTokens(array[i]);
[498] Fix | Delete
}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function