client_plugin_logic_deb 1.8.349 → 1.8.350
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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.js +2223 -2223
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-game_client.js +7252 -7061
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +699 -699
- package/kotlin-kotlin-stdlib.js +15 -15
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
57
|
};
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
61
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
62
|
-
position = position || 0;
|
|
63
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
64
|
-
}});
|
|
65
|
-
}
|
|
66
60
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
67
61
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
68
62
|
var subjectString = this.toString();
|
|
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
74
68
|
return lastIndex !== -1 && lastIndex === position;
|
|
75
69
|
}});
|
|
76
70
|
}
|
|
71
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
+
position = position || 0;
|
|
74
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
+
}});
|
|
76
|
+
}
|
|
77
77
|
//endregion
|
|
78
78
|
(function (factory) {
|
|
79
79
|
if (typeof define === 'function' && define.amd)
|
|
@@ -1125,15 +1125,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
return result;
|
|
1127
1127
|
}
|
|
1128
|
-
function toMutableSet(_this__u8e3s4) {
|
|
1129
|
-
var tmp;
|
|
1130
|
-
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1131
|
-
tmp = LinkedHashSet_init_$Create$_0(_this__u8e3s4);
|
|
1132
|
-
} else {
|
|
1133
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$());
|
|
1134
|
-
}
|
|
1135
|
-
return tmp;
|
|
1136
|
-
}
|
|
1137
1128
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
1138
1129
|
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
1139
1130
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -1147,6 +1138,15 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1147
1138
|
return toMutableList_0(_this__u8e3s4);
|
|
1148
1139
|
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
1149
1140
|
}
|
|
1141
|
+
function toMutableSet(_this__u8e3s4) {
|
|
1142
|
+
var tmp;
|
|
1143
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1144
|
+
tmp = LinkedHashSet_init_$Create$_0(_this__u8e3s4);
|
|
1145
|
+
} else {
|
|
1146
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$());
|
|
1147
|
+
}
|
|
1148
|
+
return tmp;
|
|
1149
|
+
}
|
|
1150
1150
|
function last_1(_this__u8e3s4) {
|
|
1151
1151
|
if (isInterface(_this__u8e3s4, KtList))
|
|
1152
1152
|
return last_0(_this__u8e3s4);
|