raspberry_games_engine_helpers 1.8.345 → 1.8.346

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.
@@ -364,7 +364,7 @@
364
364
  function addFormatStructureForTime(structure) {
365
365
  this.x1m(structure);
366
366
  }
367
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
367
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
368
368
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
369
369
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
370
370
  function set_fractionOfSecond(value) {
@@ -215,7 +215,7 @@
215
215
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
216
216
  //endregion
217
217
  function GameEngineConfig() {
218
- this.version = '1.8.345';
218
+ this.version = '1.8.346';
219
219
  }
220
220
  protoOf(GameEngineConfig).y27 = function () {
221
221
  return this.version;
@@ -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)