@magic-xpa/mscorelib 4.801.0-dev481.232 → 4.801.0-dev481.236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/magic-xpa-mscorelib.umd.js +7 -12
- package/bundles/magic-xpa-mscorelib.umd.js.map +1 -1
- package/bundles/magic-xpa-mscorelib.umd.min.js +1 -1
- package/bundles/magic-xpa-mscorelib.umd.min.js.map +1 -1
- package/esm2015/src/BitArray.js +1 -6
- package/esm2015/src/Debug.js +2 -2
- package/esm2015/src/List.js +3 -3
- package/esm2015/src/StackFrame.js +2 -2
- package/esm2015/src/Thread.js +3 -3
- package/esm2015/src/WebException.js +2 -2
- package/fesm2015/magic-xpa-mscorelib.js +7 -12
- package/fesm2015/magic-xpa-mscorelib.js.map +1 -1
- package/package.json +1 -1
- package/src/BitArray.d.ts +0 -1
- package/src/Debug.d.ts +1 -1
- package/src/List.d.ts +2 -2
- package/src/StackFrame.d.ts +1 -1
- package/src/WebException.d.ts +1 -1
|
@@ -389,11 +389,6 @@
|
|
|
389
389
|
BitArray.prototype.Set = function (index, value) {
|
|
390
390
|
this.array[index] = value;
|
|
391
391
|
};
|
|
392
|
-
BitArray.prototype.SetAll = function (value) {
|
|
393
|
-
this.array.forEach(function (x) {
|
|
394
|
-
x = value;
|
|
395
|
-
});
|
|
396
|
-
};
|
|
397
392
|
return BitArray;
|
|
398
393
|
}());
|
|
399
394
|
|
|
@@ -533,7 +528,7 @@
|
|
|
533
528
|
Debug.WriteLine = function (text) {
|
|
534
529
|
console.log(text);
|
|
535
530
|
};
|
|
536
|
-
Debug.Assert = function (assertCondtion, message
|
|
531
|
+
Debug.Assert = function (assertCondtion, message) {
|
|
537
532
|
if (!assertCondtion)
|
|
538
533
|
alert(message);
|
|
539
534
|
};
|
|
@@ -983,7 +978,7 @@
|
|
|
983
978
|
else
|
|
984
979
|
throw new Error("index out of bounds");
|
|
985
980
|
};
|
|
986
|
-
List.prototype.InsertRange = function (
|
|
981
|
+
List.prototype.InsertRange = function (items) {
|
|
987
982
|
var idx = 0;
|
|
988
983
|
while (idx < items.length) {
|
|
989
984
|
this.Insert(idx, items[idx]);
|
|
@@ -999,7 +994,7 @@
|
|
|
999
994
|
List.prototype.Contains = function (object) {
|
|
1000
995
|
return this.indexOf(object) > -1;
|
|
1001
996
|
};
|
|
1002
|
-
List.prototype.find = function (predicate
|
|
997
|
+
List.prototype.find = function (predicate) {
|
|
1003
998
|
var foundItem = _super.prototype.find.call(this, predicate);
|
|
1004
999
|
if (util.isUndefined(foundItem))
|
|
1005
1000
|
foundItem = null;
|
|
@@ -1361,7 +1356,7 @@
|
|
|
1361
1356
|
}());
|
|
1362
1357
|
|
|
1363
1358
|
var StackFrame = /** @class */ (function () {
|
|
1364
|
-
function StackFrame(skipFrames
|
|
1359
|
+
function StackFrame(skipFrames) {
|
|
1365
1360
|
this.stackFrame = null;
|
|
1366
1361
|
var stackFrames = StackTrace$1.getSync();
|
|
1367
1362
|
if (skipFrames < 0 || skipFrames >= stackFrames.length)
|
|
@@ -1511,9 +1506,9 @@
|
|
|
1511
1506
|
return __awaiter(this, void 0, void 0, function () {
|
|
1512
1507
|
return __generator(this, function (_a) {
|
|
1513
1508
|
switch (_a.label) {
|
|
1514
|
-
case 0: return [4 /*yield*/, new Promise(function (resolve
|
|
1509
|
+
case 0: return [4 /*yield*/, new Promise(function (resolve) {
|
|
1515
1510
|
var timer = rxjs.interval(millisecondsTimeout);
|
|
1516
|
-
var subscription = timer.subscribe(function (
|
|
1511
|
+
var subscription = timer.subscribe(function () { subscription.unsubscribe(); resolve(); });
|
|
1517
1512
|
}).then()];
|
|
1518
1513
|
case 1:
|
|
1519
1514
|
_a.sent();
|
|
@@ -1529,7 +1524,7 @@
|
|
|
1529
1524
|
|
|
1530
1525
|
var WebException = /** @class */ (function (_super) {
|
|
1531
1526
|
__extends(WebException, _super);
|
|
1532
|
-
function WebException(error
|
|
1527
|
+
function WebException(error) {
|
|
1533
1528
|
var _this = _super.call(this) || this;
|
|
1534
1529
|
_this.name = "WebException";
|
|
1535
1530
|
_this.stack = error.stack;
|