Edit File by line
/home/barbar84/www/wp-inclu.../js/tinymce/themes/inlite
File: theme.js
var expression = /^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i;
[1000] Fix | Delete
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;
[1001] Fix | Delete
var whiteSpace = /^\s*|\s*$/g;
[1002] Fix | Delete
var Collection;
[1003] Fix | Delete
var Selector = global$8.extend({
[1004] Fix | Delete
init: function (selector) {
[1005] Fix | Delete
var match = this.match;
[1006] Fix | Delete
function compileNameFilter(name) {
[1007] Fix | Delete
if (name) {
[1008] Fix | Delete
name = name.toLowerCase();
[1009] Fix | Delete
return function (item) {
[1010] Fix | Delete
return name === '*' || item.type === name;
[1011] Fix | Delete
};
[1012] Fix | Delete
}
[1013] Fix | Delete
}
[1014] Fix | Delete
function compileIdFilter(id) {
[1015] Fix | Delete
if (id) {
[1016] Fix | Delete
return function (item) {
[1017] Fix | Delete
return item._name === id;
[1018] Fix | Delete
};
[1019] Fix | Delete
}
[1020] Fix | Delete
}
[1021] Fix | Delete
function compileClassesFilter(classes) {
[1022] Fix | Delete
if (classes) {
[1023] Fix | Delete
classes = classes.split('.');
[1024] Fix | Delete
return function (item) {
[1025] Fix | Delete
var i = classes.length;
[1026] Fix | Delete
while (i--) {
[1027] Fix | Delete
if (!item.classes.contains(classes[i])) {
[1028] Fix | Delete
return false;
[1029] Fix | Delete
}
[1030] Fix | Delete
}
[1031] Fix | Delete
return true;
[1032] Fix | Delete
};
[1033] Fix | Delete
}
[1034] Fix | Delete
}
[1035] Fix | Delete
function compileAttrFilter(name, cmp, check) {
[1036] Fix | Delete
if (name) {
[1037] Fix | Delete
return function (item) {
[1038] Fix | Delete
var value = item[name] ? item[name]() : '';
[1039] Fix | Delete
return !cmp ? !!check : cmp === '=' ? value === check : cmp === '*=' ? value.indexOf(check) >= 0 : cmp === '~=' ? (' ' + value + ' ').indexOf(' ' + check + ' ') >= 0 : cmp === '!=' ? value !== check : cmp === '^=' ? value.indexOf(check) === 0 : cmp === '$=' ? value.substr(value.length - check.length) === check : false;
[1040] Fix | Delete
};
[1041] Fix | Delete
}
[1042] Fix | Delete
}
[1043] Fix | Delete
function compilePsuedoFilter(name) {
[1044] Fix | Delete
var notSelectors;
[1045] Fix | Delete
if (name) {
[1046] Fix | Delete
name = /(?:not\((.+)\))|(.+)/i.exec(name);
[1047] Fix | Delete
if (!name[1]) {
[1048] Fix | Delete
name = name[2];
[1049] Fix | Delete
return function (item, index, length) {
[1050] Fix | Delete
return name === 'first' ? index === 0 : name === 'last' ? index === length - 1 : name === 'even' ? index % 2 === 0 : name === 'odd' ? index % 2 === 1 : item[name] ? item[name]() : false;
[1051] Fix | Delete
};
[1052] Fix | Delete
}
[1053] Fix | Delete
notSelectors = parseChunks(name[1], []);
[1054] Fix | Delete
return function (item) {
[1055] Fix | Delete
return !match(item, notSelectors);
[1056] Fix | Delete
};
[1057] Fix | Delete
}
[1058] Fix | Delete
}
[1059] Fix | Delete
function compile(selector, filters, direct) {
[1060] Fix | Delete
var parts;
[1061] Fix | Delete
function add(filter) {
[1062] Fix | Delete
if (filter) {
[1063] Fix | Delete
filters.push(filter);
[1064] Fix | Delete
}
[1065] Fix | Delete
}
[1066] Fix | Delete
parts = expression.exec(selector.replace(whiteSpace, ''));
[1067] Fix | Delete
add(compileNameFilter(parts[1]));
[1068] Fix | Delete
add(compileIdFilter(parts[2]));
[1069] Fix | Delete
add(compileClassesFilter(parts[3]));
[1070] Fix | Delete
add(compileAttrFilter(parts[4], parts[5], parts[6]));
[1071] Fix | Delete
add(compilePsuedoFilter(parts[7]));
[1072] Fix | Delete
filters.pseudo = !!parts[7];
[1073] Fix | Delete
filters.direct = direct;
[1074] Fix | Delete
return filters;
[1075] Fix | Delete
}
[1076] Fix | Delete
function parseChunks(selector, selectors) {
[1077] Fix | Delete
var parts = [];
[1078] Fix | Delete
var extra, matches, i;
[1079] Fix | Delete
do {
[1080] Fix | Delete
chunker.exec('');
[1081] Fix | Delete
matches = chunker.exec(selector);
[1082] Fix | Delete
if (matches) {
[1083] Fix | Delete
selector = matches[3];
[1084] Fix | Delete
parts.push(matches[1]);
[1085] Fix | Delete
if (matches[2]) {
[1086] Fix | Delete
extra = matches[3];
[1087] Fix | Delete
break;
[1088] Fix | Delete
}
[1089] Fix | Delete
}
[1090] Fix | Delete
} while (matches);
[1091] Fix | Delete
if (extra) {
[1092] Fix | Delete
parseChunks(extra, selectors);
[1093] Fix | Delete
}
[1094] Fix | Delete
selector = [];
[1095] Fix | Delete
for (i = 0; i < parts.length; i++) {
[1096] Fix | Delete
if (parts[i] !== '>') {
[1097] Fix | Delete
selector.push(compile(parts[i], [], parts[i - 1] === '>'));
[1098] Fix | Delete
}
[1099] Fix | Delete
}
[1100] Fix | Delete
selectors.push(selector);
[1101] Fix | Delete
return selectors;
[1102] Fix | Delete
}
[1103] Fix | Delete
this._selectors = parseChunks(selector, []);
[1104] Fix | Delete
},
[1105] Fix | Delete
match: function (control, selectors) {
[1106] Fix | Delete
var i, l, si, sl, selector, fi, fl, filters, index, length, siblings, count, item;
[1107] Fix | Delete
selectors = selectors || this._selectors;
[1108] Fix | Delete
for (i = 0, l = selectors.length; i < l; i++) {
[1109] Fix | Delete
selector = selectors[i];
[1110] Fix | Delete
sl = selector.length;
[1111] Fix | Delete
item = control;
[1112] Fix | Delete
count = 0;
[1113] Fix | Delete
for (si = sl - 1; si >= 0; si--) {
[1114] Fix | Delete
filters = selector[si];
[1115] Fix | Delete
while (item) {
[1116] Fix | Delete
if (filters.pseudo) {
[1117] Fix | Delete
siblings = item.parent().items();
[1118] Fix | Delete
index = length = siblings.length;
[1119] Fix | Delete
while (index--) {
[1120] Fix | Delete
if (siblings[index] === item) {
[1121] Fix | Delete
break;
[1122] Fix | Delete
}
[1123] Fix | Delete
}
[1124] Fix | Delete
}
[1125] Fix | Delete
for (fi = 0, fl = filters.length; fi < fl; fi++) {
[1126] Fix | Delete
if (!filters[fi](item, index, length)) {
[1127] Fix | Delete
fi = fl + 1;
[1128] Fix | Delete
break;
[1129] Fix | Delete
}
[1130] Fix | Delete
}
[1131] Fix | Delete
if (fi === fl) {
[1132] Fix | Delete
count++;
[1133] Fix | Delete
break;
[1134] Fix | Delete
} else {
[1135] Fix | Delete
if (si === sl - 1) {
[1136] Fix | Delete
break;
[1137] Fix | Delete
}
[1138] Fix | Delete
}
[1139] Fix | Delete
item = item.parent();
[1140] Fix | Delete
}
[1141] Fix | Delete
}
[1142] Fix | Delete
if (count === sl) {
[1143] Fix | Delete
return true;
[1144] Fix | Delete
}
[1145] Fix | Delete
}
[1146] Fix | Delete
return false;
[1147] Fix | Delete
},
[1148] Fix | Delete
find: function (container) {
[1149] Fix | Delete
var matches = [], i, l;
[1150] Fix | Delete
var selectors = this._selectors;
[1151] Fix | Delete
function collect(items, selector, index) {
[1152] Fix | Delete
var i, l, fi, fl, item;
[1153] Fix | Delete
var filters = selector[index];
[1154] Fix | Delete
for (i = 0, l = items.length; i < l; i++) {
[1155] Fix | Delete
item = items[i];
[1156] Fix | Delete
for (fi = 0, fl = filters.length; fi < fl; fi++) {
[1157] Fix | Delete
if (!filters[fi](item, i, l)) {
[1158] Fix | Delete
fi = fl + 1;
[1159] Fix | Delete
break;
[1160] Fix | Delete
}
[1161] Fix | Delete
}
[1162] Fix | Delete
if (fi === fl) {
[1163] Fix | Delete
if (index === selector.length - 1) {
[1164] Fix | Delete
matches.push(item);
[1165] Fix | Delete
} else {
[1166] Fix | Delete
if (item.items) {
[1167] Fix | Delete
collect(item.items(), selector, index + 1);
[1168] Fix | Delete
}
[1169] Fix | Delete
}
[1170] Fix | Delete
} else if (filters.direct) {
[1171] Fix | Delete
return;
[1172] Fix | Delete
}
[1173] Fix | Delete
if (item.items) {
[1174] Fix | Delete
collect(item.items(), selector, index);
[1175] Fix | Delete
}
[1176] Fix | Delete
}
[1177] Fix | Delete
}
[1178] Fix | Delete
if (container.items) {
[1179] Fix | Delete
for (i = 0, l = selectors.length; i < l; i++) {
[1180] Fix | Delete
collect(container.items(), selectors[i], 0);
[1181] Fix | Delete
}
[1182] Fix | Delete
if (l > 1) {
[1183] Fix | Delete
matches = unique(matches);
[1184] Fix | Delete
}
[1185] Fix | Delete
}
[1186] Fix | Delete
if (!Collection) {
[1187] Fix | Delete
Collection = Selector.Collection;
[1188] Fix | Delete
}
[1189] Fix | Delete
return new Collection(matches);
[1190] Fix | Delete
}
[1191] Fix | Delete
});
[1192] Fix | Delete
[1193] Fix | Delete
var Collection$1, proto;
[1194] Fix | Delete
var push = Array.prototype.push, slice = Array.prototype.slice;
[1195] Fix | Delete
proto = {
[1196] Fix | Delete
length: 0,
[1197] Fix | Delete
init: function (items) {
[1198] Fix | Delete
if (items) {
[1199] Fix | Delete
this.add(items);
[1200] Fix | Delete
}
[1201] Fix | Delete
},
[1202] Fix | Delete
add: function (items) {
[1203] Fix | Delete
var self = this;
[1204] Fix | Delete
if (!global$4.isArray(items)) {
[1205] Fix | Delete
if (items instanceof Collection$1) {
[1206] Fix | Delete
self.add(items.toArray());
[1207] Fix | Delete
} else {
[1208] Fix | Delete
push.call(self, items);
[1209] Fix | Delete
}
[1210] Fix | Delete
} else {
[1211] Fix | Delete
push.apply(self, items);
[1212] Fix | Delete
}
[1213] Fix | Delete
return self;
[1214] Fix | Delete
},
[1215] Fix | Delete
set: function (items) {
[1216] Fix | Delete
var self = this;
[1217] Fix | Delete
var len = self.length;
[1218] Fix | Delete
var i;
[1219] Fix | Delete
self.length = 0;
[1220] Fix | Delete
self.add(items);
[1221] Fix | Delete
for (i = self.length; i < len; i++) {
[1222] Fix | Delete
delete self[i];
[1223] Fix | Delete
}
[1224] Fix | Delete
return self;
[1225] Fix | Delete
},
[1226] Fix | Delete
filter: function (selector) {
[1227] Fix | Delete
var self = this;
[1228] Fix | Delete
var i, l;
[1229] Fix | Delete
var matches = [];
[1230] Fix | Delete
var item, match;
[1231] Fix | Delete
if (typeof selector === 'string') {
[1232] Fix | Delete
selector = new Selector(selector);
[1233] Fix | Delete
match = function (item) {
[1234] Fix | Delete
return selector.match(item);
[1235] Fix | Delete
};
[1236] Fix | Delete
} else {
[1237] Fix | Delete
match = selector;
[1238] Fix | Delete
}
[1239] Fix | Delete
for (i = 0, l = self.length; i < l; i++) {
[1240] Fix | Delete
item = self[i];
[1241] Fix | Delete
if (match(item)) {
[1242] Fix | Delete
matches.push(item);
[1243] Fix | Delete
}
[1244] Fix | Delete
}
[1245] Fix | Delete
return new Collection$1(matches);
[1246] Fix | Delete
},
[1247] Fix | Delete
slice: function () {
[1248] Fix | Delete
return new Collection$1(slice.apply(this, arguments));
[1249] Fix | Delete
},
[1250] Fix | Delete
eq: function (index) {
[1251] Fix | Delete
return index === -1 ? this.slice(index) : this.slice(index, +index + 1);
[1252] Fix | Delete
},
[1253] Fix | Delete
each: function (callback) {
[1254] Fix | Delete
global$4.each(this, callback);
[1255] Fix | Delete
return this;
[1256] Fix | Delete
},
[1257] Fix | Delete
toArray: function () {
[1258] Fix | Delete
return global$4.toArray(this);
[1259] Fix | Delete
},
[1260] Fix | Delete
indexOf: function (ctrl) {
[1261] Fix | Delete
var self = this;
[1262] Fix | Delete
var i = self.length;
[1263] Fix | Delete
while (i--) {
[1264] Fix | Delete
if (self[i] === ctrl) {
[1265] Fix | Delete
break;
[1266] Fix | Delete
}
[1267] Fix | Delete
}
[1268] Fix | Delete
return i;
[1269] Fix | Delete
},
[1270] Fix | Delete
reverse: function () {
[1271] Fix | Delete
return new Collection$1(global$4.toArray(this).reverse());
[1272] Fix | Delete
},
[1273] Fix | Delete
hasClass: function (cls) {
[1274] Fix | Delete
return this[0] ? this[0].classes.contains(cls) : false;
[1275] Fix | Delete
},
[1276] Fix | Delete
prop: function (name, value) {
[1277] Fix | Delete
var self = this;
[1278] Fix | Delete
var item;
[1279] Fix | Delete
if (value !== undefined) {
[1280] Fix | Delete
self.each(function (item) {
[1281] Fix | Delete
if (item[name]) {
[1282] Fix | Delete
item[name](value);
[1283] Fix | Delete
}
[1284] Fix | Delete
});
[1285] Fix | Delete
return self;
[1286] Fix | Delete
}
[1287] Fix | Delete
item = self[0];
[1288] Fix | Delete
if (item && item[name]) {
[1289] Fix | Delete
return item[name]();
[1290] Fix | Delete
}
[1291] Fix | Delete
},
[1292] Fix | Delete
exec: function (name) {
[1293] Fix | Delete
var self = this, args = global$4.toArray(arguments).slice(1);
[1294] Fix | Delete
self.each(function (item) {
[1295] Fix | Delete
if (item[name]) {
[1296] Fix | Delete
item[name].apply(item, args);
[1297] Fix | Delete
}
[1298] Fix | Delete
});
[1299] Fix | Delete
return self;
[1300] Fix | Delete
},
[1301] Fix | Delete
remove: function () {
[1302] Fix | Delete
var i = this.length;
[1303] Fix | Delete
while (i--) {
[1304] Fix | Delete
this[i].remove();
[1305] Fix | Delete
}
[1306] Fix | Delete
return this;
[1307] Fix | Delete
},
[1308] Fix | Delete
addClass: function (cls) {
[1309] Fix | Delete
return this.each(function (item) {
[1310] Fix | Delete
item.classes.add(cls);
[1311] Fix | Delete
});
[1312] Fix | Delete
},
[1313] Fix | Delete
removeClass: function (cls) {
[1314] Fix | Delete
return this.each(function (item) {
[1315] Fix | Delete
item.classes.remove(cls);
[1316] Fix | Delete
});
[1317] Fix | Delete
}
[1318] Fix | Delete
};
[1319] Fix | Delete
global$4.each('fire on off show hide append prepend before after reflow'.split(' '), function (name) {
[1320] Fix | Delete
proto[name] = function () {
[1321] Fix | Delete
var args = global$4.toArray(arguments);
[1322] Fix | Delete
this.each(function (ctrl) {
[1323] Fix | Delete
if (name in ctrl) {
[1324] Fix | Delete
ctrl[name].apply(ctrl, args);
[1325] Fix | Delete
}
[1326] Fix | Delete
});
[1327] Fix | Delete
return this;
[1328] Fix | Delete
};
[1329] Fix | Delete
});
[1330] Fix | Delete
global$4.each('text name disabled active selected checked visible parent value data'.split(' '), function (name) {
[1331] Fix | Delete
proto[name] = function (value) {
[1332] Fix | Delete
return this.prop(name, value);
[1333] Fix | Delete
};
[1334] Fix | Delete
});
[1335] Fix | Delete
Collection$1 = global$8.extend(proto);
[1336] Fix | Delete
Selector.Collection = Collection$1;
[1337] Fix | Delete
var Collection$2 = Collection$1;
[1338] Fix | Delete
[1339] Fix | Delete
var Binding = function (settings) {
[1340] Fix | Delete
this.create = settings.create;
[1341] Fix | Delete
};
[1342] Fix | Delete
Binding.create = function (model, name) {
[1343] Fix | Delete
return new Binding({
[1344] Fix | Delete
create: function (otherModel, otherName) {
[1345] Fix | Delete
var bindings;
[1346] Fix | Delete
var fromSelfToOther = function (e) {
[1347] Fix | Delete
otherModel.set(otherName, e.value);
[1348] Fix | Delete
};
[1349] Fix | Delete
var fromOtherToSelf = function (e) {
[1350] Fix | Delete
model.set(name, e.value);
[1351] Fix | Delete
};
[1352] Fix | Delete
otherModel.on('change:' + otherName, fromOtherToSelf);
[1353] Fix | Delete
model.on('change:' + name, fromSelfToOther);
[1354] Fix | Delete
bindings = otherModel._bindings;
[1355] Fix | Delete
if (!bindings) {
[1356] Fix | Delete
bindings = otherModel._bindings = [];
[1357] Fix | Delete
otherModel.on('destroy', function () {
[1358] Fix | Delete
var i = bindings.length;
[1359] Fix | Delete
while (i--) {
[1360] Fix | Delete
bindings[i]();
[1361] Fix | Delete
}
[1362] Fix | Delete
});
[1363] Fix | Delete
}
[1364] Fix | Delete
bindings.push(function () {
[1365] Fix | Delete
model.off('change:' + name, fromSelfToOther);
[1366] Fix | Delete
});
[1367] Fix | Delete
return model.get(name);
[1368] Fix | Delete
}
[1369] Fix | Delete
});
[1370] Fix | Delete
};
[1371] Fix | Delete
[1372] Fix | Delete
var global$a = tinymce.util.Tools.resolve('tinymce.util.Observable');
[1373] Fix | Delete
[1374] Fix | Delete
function isNode(node) {
[1375] Fix | Delete
return node.nodeType > 0;
[1376] Fix | Delete
}
[1377] Fix | Delete
function isEqual(a, b) {
[1378] Fix | Delete
var k, checked;
[1379] Fix | Delete
if (a === b) {
[1380] Fix | Delete
return true;
[1381] Fix | Delete
}
[1382] Fix | Delete
if (a === null || b === null) {
[1383] Fix | Delete
return a === b;
[1384] Fix | Delete
}
[1385] Fix | Delete
if (typeof a !== 'object' || typeof b !== 'object') {
[1386] Fix | Delete
return a === b;
[1387] Fix | Delete
}
[1388] Fix | Delete
if (global$4.isArray(b)) {
[1389] Fix | Delete
if (a.length !== b.length) {
[1390] Fix | Delete
return false;
[1391] Fix | Delete
}
[1392] Fix | Delete
k = a.length;
[1393] Fix | Delete
while (k--) {
[1394] Fix | Delete
if (!isEqual(a[k], b[k])) {
[1395] Fix | Delete
return false;
[1396] Fix | Delete
}
[1397] Fix | Delete
}
[1398] Fix | Delete
}
[1399] Fix | Delete
if (isNode(a) || isNode(b)) {
[1400] Fix | Delete
return a === b;
[1401] Fix | Delete
}
[1402] Fix | Delete
checked = {};
[1403] Fix | Delete
for (k in b) {
[1404] Fix | Delete
if (!isEqual(a[k], b[k])) {
[1405] Fix | Delete
return false;
[1406] Fix | Delete
}
[1407] Fix | Delete
checked[k] = true;
[1408] Fix | Delete
}
[1409] Fix | Delete
for (k in a) {
[1410] Fix | Delete
if (!checked[k] && !isEqual(a[k], b[k])) {
[1411] Fix | Delete
return false;
[1412] Fix | Delete
}
[1413] Fix | Delete
}
[1414] Fix | Delete
return true;
[1415] Fix | Delete
}
[1416] Fix | Delete
var ObservableObject = global$8.extend({
[1417] Fix | Delete
Mixins: [global$a],
[1418] Fix | Delete
init: function (data) {
[1419] Fix | Delete
var name, value;
[1420] Fix | Delete
data = data || {};
[1421] Fix | Delete
for (name in data) {
[1422] Fix | Delete
value = data[name];
[1423] Fix | Delete
if (value instanceof Binding) {
[1424] Fix | Delete
data[name] = value.create(this, name);
[1425] Fix | Delete
}
[1426] Fix | Delete
}
[1427] Fix | Delete
this.data = data;
[1428] Fix | Delete
},
[1429] Fix | Delete
set: function (name, value) {
[1430] Fix | Delete
var key, args;
[1431] Fix | Delete
var oldValue = this.data[name];
[1432] Fix | Delete
if (value instanceof Binding) {
[1433] Fix | Delete
value = value.create(this, name);
[1434] Fix | Delete
}
[1435] Fix | Delete
if (typeof name === 'object') {
[1436] Fix | Delete
for (key in name) {
[1437] Fix | Delete
this.set(key, name[key]);
[1438] Fix | Delete
}
[1439] Fix | Delete
return this;
[1440] Fix | Delete
}
[1441] Fix | Delete
if (!isEqual(oldValue, value)) {
[1442] Fix | Delete
this.data[name] = value;
[1443] Fix | Delete
args = {
[1444] Fix | Delete
target: this,
[1445] Fix | Delete
name: name,
[1446] Fix | Delete
value: value,
[1447] Fix | Delete
oldValue: oldValue
[1448] Fix | Delete
};
[1449] Fix | Delete
this.fire('change:' + name, args);
[1450] Fix | Delete
this.fire('change', args);
[1451] Fix | Delete
}
[1452] Fix | Delete
return this;
[1453] Fix | Delete
},
[1454] Fix | Delete
get: function (name) {
[1455] Fix | Delete
return this.data[name];
[1456] Fix | Delete
},
[1457] Fix | Delete
has: function (name) {
[1458] Fix | Delete
return name in this.data;
[1459] Fix | Delete
},
[1460] Fix | Delete
bind: function (name) {
[1461] Fix | Delete
return Binding.create(this, name);
[1462] Fix | Delete
},
[1463] Fix | Delete
destroy: function () {
[1464] Fix | Delete
this.fire('destroy');
[1465] Fix | Delete
}
[1466] Fix | Delete
});
[1467] Fix | Delete
[1468] Fix | Delete
var dirtyCtrls = {}, animationFrameRequested;
[1469] Fix | Delete
var ReflowQueue = {
[1470] Fix | Delete
add: function (ctrl) {
[1471] Fix | Delete
var parent = ctrl.parent();
[1472] Fix | Delete
if (parent) {
[1473] Fix | Delete
if (!parent._layout || parent._layout.isNative()) {
[1474] Fix | Delete
return;
[1475] Fix | Delete
}
[1476] Fix | Delete
if (!dirtyCtrls[parent._id]) {
[1477] Fix | Delete
dirtyCtrls[parent._id] = parent;
[1478] Fix | Delete
}
[1479] Fix | Delete
if (!animationFrameRequested) {
[1480] Fix | Delete
animationFrameRequested = true;
[1481] Fix | Delete
global$3.requestAnimationFrame(function () {
[1482] Fix | Delete
var id, ctrl;
[1483] Fix | Delete
animationFrameRequested = false;
[1484] Fix | Delete
for (id in dirtyCtrls) {
[1485] Fix | Delete
ctrl = dirtyCtrls[id];
[1486] Fix | Delete
if (ctrl.state.get('rendered')) {
[1487] Fix | Delete
ctrl.reflow();
[1488] Fix | Delete
}
[1489] Fix | Delete
}
[1490] Fix | Delete
dirtyCtrls = {};
[1491] Fix | Delete
}, domGlobals.document.body);
[1492] Fix | Delete
}
[1493] Fix | Delete
}
[1494] Fix | Delete
},
[1495] Fix | Delete
remove: function (ctrl) {
[1496] Fix | Delete
if (dirtyCtrls[ctrl._id]) {
[1497] Fix | Delete
delete dirtyCtrls[ctrl._id];
[1498] Fix | Delete
}
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function