Edit File by line
/home/barbar84/www/wp-inclu.../js/tinymce/plugins/paste
File: plugin.js
throw new Error('setTimeout has not been defined');
[1000] Fix | Delete
}
[1001] Fix | Delete
function defaultClearTimeout() {
[1002] Fix | Delete
throw new Error('clearTimeout has not been defined');
[1003] Fix | Delete
}
[1004] Fix | Delete
(function () {
[1005] Fix | Delete
try {
[1006] Fix | Delete
if (typeof setTimeout === 'function') {
[1007] Fix | Delete
cachedSetTimeout = setTimeout;
[1008] Fix | Delete
} else {
[1009] Fix | Delete
cachedSetTimeout = defaultSetTimout;
[1010] Fix | Delete
}
[1011] Fix | Delete
} catch (e) {
[1012] Fix | Delete
cachedSetTimeout = defaultSetTimout;
[1013] Fix | Delete
}
[1014] Fix | Delete
try {
[1015] Fix | Delete
if (typeof clearTimeout === 'function') {
[1016] Fix | Delete
cachedClearTimeout = clearTimeout;
[1017] Fix | Delete
} else {
[1018] Fix | Delete
cachedClearTimeout = defaultClearTimeout;
[1019] Fix | Delete
}
[1020] Fix | Delete
} catch (e) {
[1021] Fix | Delete
cachedClearTimeout = defaultClearTimeout;
[1022] Fix | Delete
}
[1023] Fix | Delete
}());
[1024] Fix | Delete
function runTimeout(fun) {
[1025] Fix | Delete
if (cachedSetTimeout === setTimeout) {
[1026] Fix | Delete
return setTimeout(fun, 0);
[1027] Fix | Delete
}
[1028] Fix | Delete
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
[1029] Fix | Delete
cachedSetTimeout = setTimeout;
[1030] Fix | Delete
return setTimeout(fun, 0);
[1031] Fix | Delete
}
[1032] Fix | Delete
try {
[1033] Fix | Delete
return cachedSetTimeout(fun, 0);
[1034] Fix | Delete
} catch (e) {
[1035] Fix | Delete
try {
[1036] Fix | Delete
return cachedSetTimeout.call(null, fun, 0);
[1037] Fix | Delete
} catch (e) {
[1038] Fix | Delete
return cachedSetTimeout.call(this, fun, 0);
[1039] Fix | Delete
}
[1040] Fix | Delete
}
[1041] Fix | Delete
}
[1042] Fix | Delete
function runClearTimeout(marker) {
[1043] Fix | Delete
if (cachedClearTimeout === clearTimeout) {
[1044] Fix | Delete
return clearTimeout(marker);
[1045] Fix | Delete
}
[1046] Fix | Delete
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
[1047] Fix | Delete
cachedClearTimeout = clearTimeout;
[1048] Fix | Delete
return clearTimeout(marker);
[1049] Fix | Delete
}
[1050] Fix | Delete
try {
[1051] Fix | Delete
return cachedClearTimeout(marker);
[1052] Fix | Delete
} catch (e) {
[1053] Fix | Delete
try {
[1054] Fix | Delete
return cachedClearTimeout.call(null, marker);
[1055] Fix | Delete
} catch (e) {
[1056] Fix | Delete
return cachedClearTimeout.call(this, marker);
[1057] Fix | Delete
}
[1058] Fix | Delete
}
[1059] Fix | Delete
}
[1060] Fix | Delete
var queue = [];
[1061] Fix | Delete
var draining = false;
[1062] Fix | Delete
var currentQueue;
[1063] Fix | Delete
var queueIndex = -1;
[1064] Fix | Delete
function cleanUpNextTick() {
[1065] Fix | Delete
if (!draining || !currentQueue) {
[1066] Fix | Delete
return;
[1067] Fix | Delete
}
[1068] Fix | Delete
draining = false;
[1069] Fix | Delete
if (currentQueue.length) {
[1070] Fix | Delete
queue = currentQueue.concat(queue);
[1071] Fix | Delete
} else {
[1072] Fix | Delete
queueIndex = -1;
[1073] Fix | Delete
}
[1074] Fix | Delete
if (queue.length) {
[1075] Fix | Delete
drainQueue();
[1076] Fix | Delete
}
[1077] Fix | Delete
}
[1078] Fix | Delete
function drainQueue() {
[1079] Fix | Delete
if (draining) {
[1080] Fix | Delete
return;
[1081] Fix | Delete
}
[1082] Fix | Delete
var timeout = runTimeout(cleanUpNextTick);
[1083] Fix | Delete
draining = true;
[1084] Fix | Delete
var len = queue.length;
[1085] Fix | Delete
while (len) {
[1086] Fix | Delete
currentQueue = queue;
[1087] Fix | Delete
queue = [];
[1088] Fix | Delete
while (++queueIndex < len) {
[1089] Fix | Delete
if (currentQueue) {
[1090] Fix | Delete
currentQueue[queueIndex].run();
[1091] Fix | Delete
}
[1092] Fix | Delete
}
[1093] Fix | Delete
queueIndex = -1;
[1094] Fix | Delete
len = queue.length;
[1095] Fix | Delete
}
[1096] Fix | Delete
currentQueue = null;
[1097] Fix | Delete
draining = false;
[1098] Fix | Delete
runClearTimeout(timeout);
[1099] Fix | Delete
}
[1100] Fix | Delete
process.nextTick = function (fun) {
[1101] Fix | Delete
var args = new Array(arguments.length - 1);
[1102] Fix | Delete
if (arguments.length > 1) {
[1103] Fix | Delete
for (var i = 1; i < arguments.length; i++) {
[1104] Fix | Delete
args[i - 1] = arguments[i];
[1105] Fix | Delete
}
[1106] Fix | Delete
}
[1107] Fix | Delete
queue.push(new Item(fun, args));
[1108] Fix | Delete
if (queue.length === 1 && !draining) {
[1109] Fix | Delete
runTimeout(drainQueue);
[1110] Fix | Delete
}
[1111] Fix | Delete
};
[1112] Fix | Delete
function Item(fun, array) {
[1113] Fix | Delete
this.fun = fun;
[1114] Fix | Delete
this.array = array;
[1115] Fix | Delete
}
[1116] Fix | Delete
Item.prototype.run = function () {
[1117] Fix | Delete
this.fun.apply(null, this.array);
[1118] Fix | Delete
};
[1119] Fix | Delete
process.title = 'browser';
[1120] Fix | Delete
process.browser = true;
[1121] Fix | Delete
process.env = {};
[1122] Fix | Delete
process.argv = [];
[1123] Fix | Delete
process.version = '';
[1124] Fix | Delete
process.versions = {};
[1125] Fix | Delete
function noop() {
[1126] Fix | Delete
}
[1127] Fix | Delete
process.on = noop;
[1128] Fix | Delete
process.addListener = noop;
[1129] Fix | Delete
process.once = noop;
[1130] Fix | Delete
process.off = noop;
[1131] Fix | Delete
process.removeListener = noop;
[1132] Fix | Delete
process.removeAllListeners = noop;
[1133] Fix | Delete
process.emit = noop;
[1134] Fix | Delete
process.prependListener = noop;
[1135] Fix | Delete
process.prependOnceListener = noop;
[1136] Fix | Delete
process.listeners = function (name) {
[1137] Fix | Delete
return [];
[1138] Fix | Delete
};
[1139] Fix | Delete
process.binding = function (name) {
[1140] Fix | Delete
throw new Error('process.binding is not supported');
[1141] Fix | Delete
};
[1142] Fix | Delete
process.cwd = function () {
[1143] Fix | Delete
return '/';
[1144] Fix | Delete
};
[1145] Fix | Delete
process.chdir = function (dir) {
[1146] Fix | Delete
throw new Error('process.chdir is not supported');
[1147] Fix | Delete
};
[1148] Fix | Delete
process.umask = function () {
[1149] Fix | Delete
return 0;
[1150] Fix | Delete
};
[1151] Fix | Delete
},
[1152] Fix | Delete
{}
[1153] Fix | Delete
],
[1154] Fix | Delete
2: [
[1155] Fix | Delete
function (require, module, exports) {
[1156] Fix | Delete
(function (setImmediate) {
[1157] Fix | Delete
(function (root) {
[1158] Fix | Delete
var setTimeoutFunc = setTimeout;
[1159] Fix | Delete
function noop() {
[1160] Fix | Delete
}
[1161] Fix | Delete
function bind(fn, thisArg) {
[1162] Fix | Delete
return function () {
[1163] Fix | Delete
fn.apply(thisArg, arguments);
[1164] Fix | Delete
};
[1165] Fix | Delete
}
[1166] Fix | Delete
function Promise(fn) {
[1167] Fix | Delete
if (typeof this !== 'object')
[1168] Fix | Delete
throw new TypeError('Promises must be constructed via new');
[1169] Fix | Delete
if (typeof fn !== 'function')
[1170] Fix | Delete
throw new TypeError('not a function');
[1171] Fix | Delete
this._state = 0;
[1172] Fix | Delete
this._handled = false;
[1173] Fix | Delete
this._value = undefined;
[1174] Fix | Delete
this._deferreds = [];
[1175] Fix | Delete
doResolve(fn, this);
[1176] Fix | Delete
}
[1177] Fix | Delete
function handle(self, deferred) {
[1178] Fix | Delete
while (self._state === 3) {
[1179] Fix | Delete
self = self._value;
[1180] Fix | Delete
}
[1181] Fix | Delete
if (self._state === 0) {
[1182] Fix | Delete
self._deferreds.push(deferred);
[1183] Fix | Delete
return;
[1184] Fix | Delete
}
[1185] Fix | Delete
self._handled = true;
[1186] Fix | Delete
Promise._immediateFn(function () {
[1187] Fix | Delete
var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;
[1188] Fix | Delete
if (cb === null) {
[1189] Fix | Delete
(self._state === 1 ? resolve : reject)(deferred.promise, self._value);
[1190] Fix | Delete
return;
[1191] Fix | Delete
}
[1192] Fix | Delete
var ret;
[1193] Fix | Delete
try {
[1194] Fix | Delete
ret = cb(self._value);
[1195] Fix | Delete
} catch (e) {
[1196] Fix | Delete
reject(deferred.promise, e);
[1197] Fix | Delete
return;
[1198] Fix | Delete
}
[1199] Fix | Delete
resolve(deferred.promise, ret);
[1200] Fix | Delete
});
[1201] Fix | Delete
}
[1202] Fix | Delete
function resolve(self, newValue) {
[1203] Fix | Delete
try {
[1204] Fix | Delete
if (newValue === self)
[1205] Fix | Delete
throw new TypeError('A promise cannot be resolved with itself.');
[1206] Fix | Delete
if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {
[1207] Fix | Delete
var then = newValue.then;
[1208] Fix | Delete
if (newValue instanceof Promise) {
[1209] Fix | Delete
self._state = 3;
[1210] Fix | Delete
self._value = newValue;
[1211] Fix | Delete
finale(self);
[1212] Fix | Delete
return;
[1213] Fix | Delete
} else if (typeof then === 'function') {
[1214] Fix | Delete
doResolve(bind(then, newValue), self);
[1215] Fix | Delete
return;
[1216] Fix | Delete
}
[1217] Fix | Delete
}
[1218] Fix | Delete
self._state = 1;
[1219] Fix | Delete
self._value = newValue;
[1220] Fix | Delete
finale(self);
[1221] Fix | Delete
} catch (e) {
[1222] Fix | Delete
reject(self, e);
[1223] Fix | Delete
}
[1224] Fix | Delete
}
[1225] Fix | Delete
function reject(self, newValue) {
[1226] Fix | Delete
self._state = 2;
[1227] Fix | Delete
self._value = newValue;
[1228] Fix | Delete
finale(self);
[1229] Fix | Delete
}
[1230] Fix | Delete
function finale(self) {
[1231] Fix | Delete
if (self._state === 2 && self._deferreds.length === 0) {
[1232] Fix | Delete
Promise._immediateFn(function () {
[1233] Fix | Delete
if (!self._handled) {
[1234] Fix | Delete
Promise._unhandledRejectionFn(self._value);
[1235] Fix | Delete
}
[1236] Fix | Delete
});
[1237] Fix | Delete
}
[1238] Fix | Delete
for (var i = 0, len = self._deferreds.length; i < len; i++) {
[1239] Fix | Delete
handle(self, self._deferreds[i]);
[1240] Fix | Delete
}
[1241] Fix | Delete
self._deferreds = null;
[1242] Fix | Delete
}
[1243] Fix | Delete
function Handler(onFulfilled, onRejected, promise) {
[1244] Fix | Delete
this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
[1245] Fix | Delete
this.onRejected = typeof onRejected === 'function' ? onRejected : null;
[1246] Fix | Delete
this.promise = promise;
[1247] Fix | Delete
}
[1248] Fix | Delete
function doResolve(fn, self) {
[1249] Fix | Delete
var done = false;
[1250] Fix | Delete
try {
[1251] Fix | Delete
fn(function (value) {
[1252] Fix | Delete
if (done)
[1253] Fix | Delete
return;
[1254] Fix | Delete
done = true;
[1255] Fix | Delete
resolve(self, value);
[1256] Fix | Delete
}, function (reason) {
[1257] Fix | Delete
if (done)
[1258] Fix | Delete
return;
[1259] Fix | Delete
done = true;
[1260] Fix | Delete
reject(self, reason);
[1261] Fix | Delete
});
[1262] Fix | Delete
} catch (ex) {
[1263] Fix | Delete
if (done)
[1264] Fix | Delete
return;
[1265] Fix | Delete
done = true;
[1266] Fix | Delete
reject(self, ex);
[1267] Fix | Delete
}
[1268] Fix | Delete
}
[1269] Fix | Delete
Promise.prototype['catch'] = function (onRejected) {
[1270] Fix | Delete
return this.then(null, onRejected);
[1271] Fix | Delete
};
[1272] Fix | Delete
Promise.prototype.then = function (onFulfilled, onRejected) {
[1273] Fix | Delete
var prom = new this.constructor(noop);
[1274] Fix | Delete
handle(this, new Handler(onFulfilled, onRejected, prom));
[1275] Fix | Delete
return prom;
[1276] Fix | Delete
};
[1277] Fix | Delete
Promise.all = function (arr) {
[1278] Fix | Delete
var args = Array.prototype.slice.call(arr);
[1279] Fix | Delete
return new Promise(function (resolve, reject) {
[1280] Fix | Delete
if (args.length === 0)
[1281] Fix | Delete
return resolve([]);
[1282] Fix | Delete
var remaining = args.length;
[1283] Fix | Delete
function res(i, val) {
[1284] Fix | Delete
try {
[1285] Fix | Delete
if (val && (typeof val === 'object' || typeof val === 'function')) {
[1286] Fix | Delete
var then = val.then;
[1287] Fix | Delete
if (typeof then === 'function') {
[1288] Fix | Delete
then.call(val, function (val) {
[1289] Fix | Delete
res(i, val);
[1290] Fix | Delete
}, reject);
[1291] Fix | Delete
return;
[1292] Fix | Delete
}
[1293] Fix | Delete
}
[1294] Fix | Delete
args[i] = val;
[1295] Fix | Delete
if (--remaining === 0) {
[1296] Fix | Delete
resolve(args);
[1297] Fix | Delete
}
[1298] Fix | Delete
} catch (ex) {
[1299] Fix | Delete
reject(ex);
[1300] Fix | Delete
}
[1301] Fix | Delete
}
[1302] Fix | Delete
for (var i = 0; i < args.length; i++) {
[1303] Fix | Delete
res(i, args[i]);
[1304] Fix | Delete
}
[1305] Fix | Delete
});
[1306] Fix | Delete
};
[1307] Fix | Delete
Promise.resolve = function (value) {
[1308] Fix | Delete
if (value && typeof value === 'object' && value.constructor === Promise) {
[1309] Fix | Delete
return value;
[1310] Fix | Delete
}
[1311] Fix | Delete
return new Promise(function (resolve) {
[1312] Fix | Delete
resolve(value);
[1313] Fix | Delete
});
[1314] Fix | Delete
};
[1315] Fix | Delete
Promise.reject = function (value) {
[1316] Fix | Delete
return new Promise(function (resolve, reject) {
[1317] Fix | Delete
reject(value);
[1318] Fix | Delete
});
[1319] Fix | Delete
};
[1320] Fix | Delete
Promise.race = function (values) {
[1321] Fix | Delete
return new Promise(function (resolve, reject) {
[1322] Fix | Delete
for (var i = 0, len = values.length; i < len; i++) {
[1323] Fix | Delete
values[i].then(resolve, reject);
[1324] Fix | Delete
}
[1325] Fix | Delete
});
[1326] Fix | Delete
};
[1327] Fix | Delete
Promise._immediateFn = typeof setImmediate === 'function' ? function (fn) {
[1328] Fix | Delete
setImmediate(fn);
[1329] Fix | Delete
} : function (fn) {
[1330] Fix | Delete
setTimeoutFunc(fn, 0);
[1331] Fix | Delete
};
[1332] Fix | Delete
Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {
[1333] Fix | Delete
if (typeof console !== 'undefined' && console) {
[1334] Fix | Delete
console.warn('Possible Unhandled Promise Rejection:', err);
[1335] Fix | Delete
}
[1336] Fix | Delete
};
[1337] Fix | Delete
Promise._setImmediateFn = function _setImmediateFn(fn) {
[1338] Fix | Delete
Promise._immediateFn = fn;
[1339] Fix | Delete
};
[1340] Fix | Delete
Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {
[1341] Fix | Delete
Promise._unhandledRejectionFn = fn;
[1342] Fix | Delete
};
[1343] Fix | Delete
if (typeof module !== 'undefined' && module.exports) {
[1344] Fix | Delete
module.exports = Promise;
[1345] Fix | Delete
} else if (!root.Promise) {
[1346] Fix | Delete
root.Promise = Promise;
[1347] Fix | Delete
}
[1348] Fix | Delete
}(this));
[1349] Fix | Delete
}.call(this, require('timers').setImmediate));
[1350] Fix | Delete
},
[1351] Fix | Delete
{ 'timers': 3 }
[1352] Fix | Delete
],
[1353] Fix | Delete
3: [
[1354] Fix | Delete
function (require, module, exports) {
[1355] Fix | Delete
(function (setImmediate, clearImmediate) {
[1356] Fix | Delete
var nextTick = require('process/browser.js').nextTick;
[1357] Fix | Delete
var apply = Function.prototype.apply;
[1358] Fix | Delete
var slice = Array.prototype.slice;
[1359] Fix | Delete
var immediateIds = {};
[1360] Fix | Delete
var nextImmediateId = 0;
[1361] Fix | Delete
exports.setTimeout = function () {
[1362] Fix | Delete
return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);
[1363] Fix | Delete
};
[1364] Fix | Delete
exports.setInterval = function () {
[1365] Fix | Delete
return new Timeout(apply.call(setInterval, window, arguments), clearInterval);
[1366] Fix | Delete
};
[1367] Fix | Delete
exports.clearTimeout = exports.clearInterval = function (timeout) {
[1368] Fix | Delete
timeout.close();
[1369] Fix | Delete
};
[1370] Fix | Delete
function Timeout(id, clearFn) {
[1371] Fix | Delete
this._id = id;
[1372] Fix | Delete
this._clearFn = clearFn;
[1373] Fix | Delete
}
[1374] Fix | Delete
Timeout.prototype.unref = Timeout.prototype.ref = function () {
[1375] Fix | Delete
};
[1376] Fix | Delete
Timeout.prototype.close = function () {
[1377] Fix | Delete
this._clearFn.call(window, this._id);
[1378] Fix | Delete
};
[1379] Fix | Delete
exports.enroll = function (item, msecs) {
[1380] Fix | Delete
clearTimeout(item._idleTimeoutId);
[1381] Fix | Delete
item._idleTimeout = msecs;
[1382] Fix | Delete
};
[1383] Fix | Delete
exports.unenroll = function (item) {
[1384] Fix | Delete
clearTimeout(item._idleTimeoutId);
[1385] Fix | Delete
item._idleTimeout = -1;
[1386] Fix | Delete
};
[1387] Fix | Delete
exports._unrefActive = exports.active = function (item) {
[1388] Fix | Delete
clearTimeout(item._idleTimeoutId);
[1389] Fix | Delete
var msecs = item._idleTimeout;
[1390] Fix | Delete
if (msecs >= 0) {
[1391] Fix | Delete
item._idleTimeoutId = setTimeout(function onTimeout() {
[1392] Fix | Delete
if (item._onTimeout)
[1393] Fix | Delete
item._onTimeout();
[1394] Fix | Delete
}, msecs);
[1395] Fix | Delete
}
[1396] Fix | Delete
};
[1397] Fix | Delete
exports.setImmediate = typeof setImmediate === 'function' ? setImmediate : function (fn) {
[1398] Fix | Delete
var id = nextImmediateId++;
[1399] Fix | Delete
var args = arguments.length < 2 ? false : slice.call(arguments, 1);
[1400] Fix | Delete
immediateIds[id] = true;
[1401] Fix | Delete
nextTick(function onNextTick() {
[1402] Fix | Delete
if (immediateIds[id]) {
[1403] Fix | Delete
if (args) {
[1404] Fix | Delete
fn.apply(null, args);
[1405] Fix | Delete
} else {
[1406] Fix | Delete
fn.call(null);
[1407] Fix | Delete
}
[1408] Fix | Delete
exports.clearImmediate(id);
[1409] Fix | Delete
}
[1410] Fix | Delete
});
[1411] Fix | Delete
return id;
[1412] Fix | Delete
};
[1413] Fix | Delete
exports.clearImmediate = typeof clearImmediate === 'function' ? clearImmediate : function (id) {
[1414] Fix | Delete
delete immediateIds[id];
[1415] Fix | Delete
};
[1416] Fix | Delete
}.call(this, require('timers').setImmediate, require('timers').clearImmediate));
[1417] Fix | Delete
},
[1418] Fix | Delete
{
[1419] Fix | Delete
'process/browser.js': 1,
[1420] Fix | Delete
'timers': 3
[1421] Fix | Delete
}
[1422] Fix | Delete
],
[1423] Fix | Delete
4: [
[1424] Fix | Delete
function (require, module, exports) {
[1425] Fix | Delete
var promisePolyfill = require('promise-polyfill');
[1426] Fix | Delete
var Global = function () {
[1427] Fix | Delete
if (typeof window !== 'undefined') {
[1428] Fix | Delete
return window;
[1429] Fix | Delete
} else {
[1430] Fix | Delete
return Function('return this;')();
[1431] Fix | Delete
}
[1432] Fix | Delete
}();
[1433] Fix | Delete
module.exports = { boltExport: Global.Promise || promisePolyfill };
[1434] Fix | Delete
},
[1435] Fix | Delete
{ 'promise-polyfill': 2 }
[1436] Fix | Delete
]
[1437] Fix | Delete
}, {}, [4])(4);
[1438] Fix | Delete
}));
[1439] Fix | Delete
}(undefined, exports$1, module, undefined));
[1440] Fix | Delete
var Promise = module.exports.boltExport;
[1441] Fix | Delete
[1442] Fix | Delete
var nu = function (baseFn) {
[1443] Fix | Delete
var data = Option.none();
[1444] Fix | Delete
var callbacks = [];
[1445] Fix | Delete
var map = function (f) {
[1446] Fix | Delete
return nu(function (nCallback) {
[1447] Fix | Delete
get(function (data) {
[1448] Fix | Delete
nCallback(f(data));
[1449] Fix | Delete
});
[1450] Fix | Delete
});
[1451] Fix | Delete
};
[1452] Fix | Delete
var get = function (nCallback) {
[1453] Fix | Delete
if (isReady()) {
[1454] Fix | Delete
call(nCallback);
[1455] Fix | Delete
} else {
[1456] Fix | Delete
callbacks.push(nCallback);
[1457] Fix | Delete
}
[1458] Fix | Delete
};
[1459] Fix | Delete
var set = function (x) {
[1460] Fix | Delete
data = Option.some(x);
[1461] Fix | Delete
run(callbacks);
[1462] Fix | Delete
callbacks = [];
[1463] Fix | Delete
};
[1464] Fix | Delete
var isReady = function () {
[1465] Fix | Delete
return data.isSome();
[1466] Fix | Delete
};
[1467] Fix | Delete
var run = function (cbs) {
[1468] Fix | Delete
each(cbs, call);
[1469] Fix | Delete
};
[1470] Fix | Delete
var call = function (cb) {
[1471] Fix | Delete
data.each(function (x) {
[1472] Fix | Delete
domGlobals.setTimeout(function () {
[1473] Fix | Delete
cb(x);
[1474] Fix | Delete
}, 0);
[1475] Fix | Delete
});
[1476] Fix | Delete
};
[1477] Fix | Delete
baseFn(set);
[1478] Fix | Delete
return {
[1479] Fix | Delete
get: get,
[1480] Fix | Delete
map: map,
[1481] Fix | Delete
isReady: isReady
[1482] Fix | Delete
};
[1483] Fix | Delete
};
[1484] Fix | Delete
var pure = function (a) {
[1485] Fix | Delete
return nu(function (callback) {
[1486] Fix | Delete
callback(a);
[1487] Fix | Delete
});
[1488] Fix | Delete
};
[1489] Fix | Delete
var LazyValue = {
[1490] Fix | Delete
nu: nu,
[1491] Fix | Delete
pure: pure
[1492] Fix | Delete
};
[1493] Fix | Delete
[1494] Fix | Delete
var errorReporter = function (err) {
[1495] Fix | Delete
domGlobals.setTimeout(function () {
[1496] Fix | Delete
throw err;
[1497] Fix | Delete
}, 0);
[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