raspberry_games_engine_helpers 1.8.374 → 1.8.377
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/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +486 -486
- package/Logic_Debertz-core.js +387 -381
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +12 -13
- package/Logic_Debertz-engine.js +6641 -6699
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9 -9
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1065 -1065
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,6 +57,12 @@ 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
|
+
}
|
|
60
66
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
61
67
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
62
68
|
var subjectString = this.toString();
|
|
@@ -68,12 +74,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
68
74
|
return lastIndex !== -1 && lastIndex === position;
|
|
69
75
|
}});
|
|
70
76
|
}
|
|
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)
|
|
@@ -7711,15 +7711,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
7711
7711
|
function listOfNotNull(elements) {
|
|
7712
7712
|
return filterNotNull(elements);
|
|
7713
7713
|
}
|
|
7714
|
+
function listOf_0(elements) {
|
|
7715
|
+
return elements.length > 0 ? asList(elements) : emptyList();
|
|
7716
|
+
}
|
|
7714
7717
|
function emptyList() {
|
|
7715
7718
|
return EmptyList_getInstance();
|
|
7716
7719
|
}
|
|
7717
7720
|
function get_lastIndex_2(_this__u8e3s4) {
|
|
7718
7721
|
return _this__u8e3s4.o() - 1 | 0;
|
|
7719
7722
|
}
|
|
7720
|
-
function listOf_0(elements) {
|
|
7721
|
-
return elements.length > 0 ? asList(elements) : emptyList();
|
|
7722
|
-
}
|
|
7723
7723
|
function mutableListOf(elements) {
|
|
7724
7724
|
var tmp;
|
|
7725
7725
|
if (elements.length === 0) {
|