@schukai/monster 1.15.2 → 1.15.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +6 -0
- package/README.md +4 -4
- package/dist/modules/constants.js +1 -1
- package/dist/modules/constraints/abstract.js +1 -1
- package/dist/modules/constraints/abstractoperator.js +1 -1
- package/dist/modules/constraints/andoperator.js +1 -1
- package/dist/modules/constraints/invalid.js +1 -1
- package/dist/modules/constraints/isarray.js +1 -1
- package/dist/modules/constraints/isobject.js +1 -1
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +1 -1
- package/dist/modules/constraints/valid.js +1 -1
- package/dist/modules/data/buildmap.js +1 -1
- package/dist/modules/data/diff.js +1 -1
- package/dist/modules/data/extend.js +1 -1
- package/dist/modules/data/namespace.js +1 -1
- package/dist/modules/data/pathfinder.js +1 -1
- package/dist/modules/data/pipe.js +1 -1
- package/dist/modules/data/transformer.js +1 -1
- package/dist/modules/dom/assembler.js +1 -1
- package/dist/modules/dom/attributes.js +1 -1
- package/dist/modules/dom/constants.js +1 -1
- package/dist/modules/dom/customcontrol.js +1 -1
- package/dist/modules/dom/customelement.js +2 -2
- package/dist/modules/dom/events.js +1 -1
- package/dist/modules/dom/locale.js +1 -1
- package/dist/modules/dom/namespace.js +1 -1
- package/dist/modules/dom/template.js +2 -2
- package/dist/modules/dom/theme.js +1 -1
- package/dist/modules/dom/updater.js +1 -1
- package/dist/modules/dom/util.js +1 -1
- package/dist/modules/i18n/locale.js +1 -1
- package/dist/modules/i18n/namespace.js +1 -1
- package/dist/modules/i18n/provider.js +1 -1
- package/dist/modules/i18n/providers/fetch.js +1 -1
- package/dist/modules/i18n/providers/namespace.js +1 -1
- package/dist/modules/i18n/translations.js +1 -1
- package/dist/modules/logging/handler/console.js +1 -1
- package/dist/modules/logging/handler/namespace.js +1 -1
- package/dist/modules/logging/handler.js +1 -1
- package/dist/modules/logging/logentry.js +1 -1
- package/dist/modules/logging/logger.js +1 -1
- package/dist/modules/logging/namespace.js +1 -1
- package/dist/modules/math/namespace.js +1 -1
- package/dist/modules/math/random.js +1 -1
- package/dist/modules/monster.js +1 -1
- package/dist/modules/namespace.js +1 -1
- package/dist/modules/text/formatter.js +1 -1
- package/dist/modules/text/namespace.js +1 -1
- package/dist/modules/types/base.js +1 -1
- package/dist/modules/types/basewithoptions.js +1 -1
- package/dist/modules/types/global.js +1 -1
- package/dist/modules/types/id.js +1 -1
- package/dist/modules/types/is.js +1 -1
- package/dist/modules/types/namespace.js +1 -1
- package/dist/modules/types/observer.js +1 -1
- package/dist/modules/types/observerlist.js +1 -1
- package/dist/modules/types/proxyobserver.js +1 -1
- package/dist/modules/types/queue.js +1 -1
- package/dist/modules/types/randomid.js +1 -1
- package/dist/modules/types/stack.js +1 -1
- package/dist/modules/types/tokenlist.js +1 -1
- package/dist/modules/types/typeof.js +1 -1
- package/dist/modules/types/uniquequeue.js +1 -1
- package/dist/modules/types/validate.js +1 -1
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +1 -1
- package/dist/modules/util/comparator.js +1 -1
- package/dist/modules/util/freeze.js +1 -1
- package/dist/modules/util/namespace.js +1 -1
- package/dist/monster.dev.js +208 -206
- package/dist/monster.dev.js.map +1 -1
- package/dist/monster.js +2 -2
- package/package.json +1 -1
- package/source/constraints/andoperator.js +5 -5
- package/source/constraints/invalid.js +3 -3
- package/source/constraints/isarray.js +3 -3
- package/source/constraints/isobject.js +3 -3
- package/source/constraints/oroperator.js +5 -5
- package/source/constraints/valid.js +3 -3
- package/source/data/buildmap.js +2 -2
- package/source/data/diff.js +3 -3
- package/source/data/extend.js +2 -2
- package/source/data/pathfinder.js +4 -4
- package/source/data/pipe.js +3 -3
- package/source/data/transformer.js +3 -3
- package/source/dom/assembler.js +2 -2
- package/source/dom/attributes.js +24 -24
- package/source/dom/customcontrol.js +2 -2
- package/source/dom/customelement.js +3 -5
- package/source/dom/events.js +4 -4
- package/source/dom/locale.js +2 -2
- package/source/dom/template.js +11 -5
- package/source/dom/theme.js +3 -3
- package/source/dom/updater.js +3 -3
- package/source/dom/util.js +6 -6
- package/source/i18n/locale.js +4 -4
- package/source/i18n/provider.js +2 -2
- package/source/i18n/providers/fetch.js +2 -2
- package/source/i18n/translations.js +2 -2
- package/source/logging/handler/console.js +2 -2
- package/source/logging/handler.js +2 -2
- package/source/logging/logentry.js +2 -2
- package/source/logging/logger.js +2 -2
- package/source/math/random.js +2 -2
- package/source/namespace.js +1 -1
- package/source/text/formatter.js +2 -2
- package/source/types/base.js +2 -2
- package/source/types/basewithoptions.js +2 -2
- package/source/types/global.js +4 -4
- package/source/types/id.js +2 -2
- package/source/types/is.js +20 -20
- package/source/types/observer.js +3 -3
- package/source/types/observerlist.js +2 -2
- package/source/types/proxyobserver.js +5 -5
- package/source/types/queue.js +3 -3
- package/source/types/randomid.js +2 -2
- package/source/types/stack.js +2 -2
- package/source/types/tokenlist.js +2 -2
- package/source/types/typeof.js +3 -3
- package/source/types/uniquequeue.js +2 -2
- package/source/types/validate.js +20 -20
- package/source/types/version.js +6 -6
- package/source/util/clone.js +2 -2
- package/source/util/comparator.js +3 -3
- package/source/util/freeze.js +2 -2
- package/test/cases/dom/customcontrol.js +1 -1
- package/test/cases/dom/customelement.js +1 -1
- package/test/cases/monster.js +1 -1
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +2 -2
- package/test/web/tests.js +2 -2
package/dist/monster.dev.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** Monster 1.15.
|
1
|
+
/** Monster 1.15.3, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
4
4
|
module.exports = factory();
|
@@ -132,7 +132,7 @@ var Monster = new Namespace("Monster");
|
|
132
132
|
*
|
133
133
|
* ```
|
134
134
|
* <script type="module">
|
135
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
135
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/namespace.js';
|
136
136
|
* function hello() {
|
137
137
|
* console.log('Hello World!');
|
138
138
|
* }
|
@@ -374,7 +374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
374
374
|
*
|
375
375
|
* ```
|
376
376
|
* <script type="module">
|
377
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
377
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/base.js';
|
378
378
|
* console.log(new Monster.Types.Base())
|
379
379
|
* </script>
|
380
380
|
* ```
|
@@ -383,7 +383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
383
383
|
*
|
384
384
|
* ```
|
385
385
|
* <script type="module">
|
386
|
-
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
386
|
+
* import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/base.js';
|
387
387
|
* console.log(new Base())
|
388
388
|
* </script>
|
389
389
|
* ```
|
@@ -546,7 +546,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
546
546
|
*
|
547
547
|
* ```
|
548
548
|
* <script type="module">
|
549
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
549
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/andoperator.js';
|
550
550
|
* new Monster.Constraint.AndOperator();
|
551
551
|
* </script>
|
552
552
|
* ```
|
@@ -555,16 +555,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
555
555
|
*
|
556
556
|
* ```
|
557
557
|
* <script type="module">
|
558
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
558
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/andoperator.js';
|
559
559
|
* new AndOperator();
|
560
560
|
* </script>
|
561
561
|
* ```
|
562
562
|
*
|
563
563
|
* @example
|
564
564
|
*
|
565
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
566
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
567
|
-
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
565
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/valid.js';
|
566
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/invalid.js';
|
567
|
+
* import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/andoperator.js';
|
568
568
|
*
|
569
569
|
* new AndOperator(
|
570
570
|
* new Valid(), new Valid()).isValid()
|
@@ -661,7 +661,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
661
661
|
*
|
662
662
|
* ```
|
663
663
|
* <script type="module">
|
664
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
664
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/invalid.js';
|
665
665
|
* new Monster.Constraint.Invalid();
|
666
666
|
* </script>
|
667
667
|
* ```
|
@@ -670,14 +670,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
670
670
|
*
|
671
671
|
* ```
|
672
672
|
* <script type="module">
|
673
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
673
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/invalid.js';
|
674
674
|
* new Invalid();
|
675
675
|
* </script>
|
676
676
|
* ```
|
677
677
|
*
|
678
678
|
* @example
|
679
679
|
*
|
680
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
680
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/invalid.js';
|
681
681
|
*
|
682
682
|
* new Invalid().isValid()
|
683
683
|
* .then(()=>console.log(true))
|
@@ -767,7 +767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
767
767
|
*
|
768
768
|
* ```
|
769
769
|
* <script type="module">
|
770
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
770
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isarray.js';
|
771
771
|
* console.log(new Monster.Constraint.IsArray())
|
772
772
|
* </script>
|
773
773
|
* ```
|
@@ -776,14 +776,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
776
776
|
*
|
777
777
|
* ```
|
778
778
|
* <script type="module">
|
779
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
779
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isarray.js';
|
780
780
|
* console.log(new IsArray())
|
781
781
|
* </script>
|
782
782
|
* ```
|
783
783
|
*
|
784
784
|
* @example
|
785
785
|
*
|
786
|
-
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
786
|
+
* import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isarray.js';
|
787
787
|
*
|
788
788
|
* new IsArray()
|
789
789
|
* .isValid([])
|
@@ -869,7 +869,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
869
869
|
*
|
870
870
|
* ```
|
871
871
|
* <script type="module">
|
872
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
872
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
873
873
|
* console.log(Monster.Types.isIterable(null)) // ↦ false
|
874
874
|
* console.log(Monster.Types.isIterable('hello')) // ↦ true
|
875
875
|
* console.log(Monster.Types.isIterable([])) // ↦ true
|
@@ -880,7 +880,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
880
880
|
*
|
881
881
|
* ```
|
882
882
|
* <script type="module">
|
883
|
-
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
883
|
+
* import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
884
884
|
* console.log(isIterable(null)) // ↦ false
|
885
885
|
* console.log(isIterable('hello')) // ↦ true
|
886
886
|
* console.log(isIterable([])) // ↦ true
|
@@ -906,7 +906,7 @@ function isIterable(value) {
|
|
906
906
|
*
|
907
907
|
* ```
|
908
908
|
* <script type="module">
|
909
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
909
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
910
910
|
* console.log(Monster.Types.isPrimitive('2')) // ↦ false
|
911
911
|
* console.log(Monster.Types.isPrimitive([])) // ↦ true
|
912
912
|
* </script>
|
@@ -916,7 +916,7 @@ function isIterable(value) {
|
|
916
916
|
*
|
917
917
|
* ```
|
918
918
|
* <script type="module">
|
919
|
-
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
919
|
+
* import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
920
920
|
* console.log(isPrimitive('2')) // ↦ true
|
921
921
|
* console.log(isPrimitive([])) // ↦ false
|
922
922
|
* </script>
|
@@ -952,7 +952,7 @@ function isPrimitive(value) {
|
|
952
952
|
*
|
953
953
|
* ```
|
954
954
|
* <script type="module">
|
955
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
955
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
956
956
|
* console.log(Monster.Types.isSymbol('2')) // ↦ false
|
957
957
|
* console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
|
958
958
|
* </script>
|
@@ -962,7 +962,7 @@ function isPrimitive(value) {
|
|
962
962
|
*
|
963
963
|
* ```
|
964
964
|
* <script type="module">
|
965
|
-
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
965
|
+
* import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
966
966
|
* console.log(isSymbol(Symbol('a'))) // ↦ true
|
967
967
|
* console.log(isSymbol([]) // ↦ false
|
968
968
|
* </script>
|
@@ -986,7 +986,7 @@ function isSymbol(value) {
|
|
986
986
|
*
|
987
987
|
* ```
|
988
988
|
* <script type="module">
|
989
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
989
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
990
990
|
* console.log(Monster.Types.isBoolean('2')) // ↦ false
|
991
991
|
* console.log(Monster.Types.isBoolean([])) // ↦ false
|
992
992
|
* console.log(Monster.Types.isBoolean(true)) // ↦ true
|
@@ -997,7 +997,7 @@ function isSymbol(value) {
|
|
997
997
|
*
|
998
998
|
* ```
|
999
999
|
* <script type="module">
|
1000
|
-
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1000
|
+
* import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1001
1001
|
* console.log(isBoolean('2')) // ↦ false
|
1002
1002
|
* console.log(isBoolean([])) // ↦ false
|
1003
1003
|
* console.log(isBoolean(2>4)) // ↦ true
|
@@ -1026,7 +1026,7 @@ function isBoolean(value) {
|
|
1026
1026
|
*
|
1027
1027
|
* ```
|
1028
1028
|
* <script type="module">
|
1029
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1029
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1030
1030
|
* console.log(Monster.Types.isString('2')) // ↦ true
|
1031
1031
|
* console.log(Monster.Types.isString([])) // ↦ false
|
1032
1032
|
* </script>
|
@@ -1036,7 +1036,7 @@ function isBoolean(value) {
|
|
1036
1036
|
*
|
1037
1037
|
* ```
|
1038
1038
|
* <script type="module">
|
1039
|
-
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1039
|
+
* import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1040
1040
|
* console.log(isString('2')) // ↦ true
|
1041
1041
|
* console.log(isString([])) // ↦ false
|
1042
1042
|
* </script>
|
@@ -1064,7 +1064,7 @@ function isString(value) {
|
|
1064
1064
|
*
|
1065
1065
|
* ```
|
1066
1066
|
* <script type="module">
|
1067
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1067
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1068
1068
|
* console.log(Monster.Types.isObject('2')) // ↦ false
|
1069
1069
|
* console.log(Monster.Types.isObject([])) // ↦ false
|
1070
1070
|
* console.log(Monster.Types.isObject({})) // ↦ true
|
@@ -1075,7 +1075,7 @@ function isString(value) {
|
|
1075
1075
|
*
|
1076
1076
|
* ```
|
1077
1077
|
* <script type="module">
|
1078
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1078
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1079
1079
|
* console.log(isObject('2')) // ↦ false
|
1080
1080
|
* console.log(isObject([])) // ↦ false
|
1081
1081
|
* </script>
|
@@ -1106,7 +1106,7 @@ function isObject(value) {
|
|
1106
1106
|
*
|
1107
1107
|
* ```
|
1108
1108
|
* <script type="module">
|
1109
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1109
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1110
1110
|
* console.log(Monster.Types.isInstance('2')) // ↦ false
|
1111
1111
|
* console.log(Monster.Types.isInstance([])) // ↦ false
|
1112
1112
|
* console.log(Monster.Types.isInstance({})) // ↦ true
|
@@ -1117,7 +1117,7 @@ function isObject(value) {
|
|
1117
1117
|
*
|
1118
1118
|
* ```
|
1119
1119
|
* <script type="module">
|
1120
|
-
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1120
|
+
* import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1121
1121
|
* console.log(isInstance('2')) // ↦ false
|
1122
1122
|
* console.log(isInstance([])) // ↦ false
|
1123
1123
|
* </script>
|
@@ -1145,7 +1145,7 @@ function isInstance(value, instance) {
|
|
1145
1145
|
*
|
1146
1146
|
* ```
|
1147
1147
|
* <script type="module">
|
1148
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1148
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1149
1149
|
* console.log(Monster.Types.isArray('2')) // ↦ false
|
1150
1150
|
* console.log(Monster.Types.isArray([])) // ↦ true
|
1151
1151
|
* </script>
|
@@ -1155,7 +1155,7 @@ function isInstance(value, instance) {
|
|
1155
1155
|
*
|
1156
1156
|
* ```
|
1157
1157
|
* <script type="module">
|
1158
|
-
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1158
|
+
* import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1159
1159
|
* console.log(isArray('2')) // ↦ false
|
1160
1160
|
* console.log(isArray([])) // ↦ true
|
1161
1161
|
* </script>
|
@@ -1183,7 +1183,7 @@ function isArray(value) {
|
|
1183
1183
|
*
|
1184
1184
|
* ```
|
1185
1185
|
* <script type="module">
|
1186
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1186
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1187
1187
|
* console.log(Monster.Types.isFunction(()=>{})) // ↦ true
|
1188
1188
|
* console.log(Monster.Types.isFunction('2')) // ↦ false
|
1189
1189
|
* console.log(Monster.Types.isFunction([])) // ↦ false
|
@@ -1194,7 +1194,7 @@ function isArray(value) {
|
|
1194
1194
|
*
|
1195
1195
|
* ```
|
1196
1196
|
* <script type="module">
|
1197
|
-
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1197
|
+
* import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1198
1198
|
* console.log(isFunction(()=>{})) // ↦ true
|
1199
1199
|
* console.log(isFunction('2')) // ↦ false
|
1200
1200
|
* console.log(isFunction([])) // ↦ false
|
@@ -1226,7 +1226,7 @@ function isFunction(value) {
|
|
1226
1226
|
*
|
1227
1227
|
* ```
|
1228
1228
|
* <script type="module">
|
1229
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1229
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1230
1230
|
* console.log(Monster.Types.isInteger(()=>{})) // ↦ true
|
1231
1231
|
* console.log(Monster.Types.isInteger('2')) // ↦ false
|
1232
1232
|
* console.log(Monster.Types.isInteger(2)) // ↦ true
|
@@ -1237,7 +1237,7 @@ function isFunction(value) {
|
|
1237
1237
|
*
|
1238
1238
|
* ```
|
1239
1239
|
* <script type="module">
|
1240
|
-
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1240
|
+
* import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
1241
1241
|
* console.log(isInteger(()=>{})) // ↦ true
|
1242
1242
|
* console.log(isInteger('2')) // ↦ false
|
1243
1243
|
* console.log(isInteger(2)) // ↦ true
|
@@ -1306,7 +1306,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1306
1306
|
*
|
1307
1307
|
* ```
|
1308
1308
|
* <script type="module">
|
1309
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1309
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isobject.js';
|
1310
1310
|
* console.log(new Monster.Constraint.IsObject())
|
1311
1311
|
* </script>
|
1312
1312
|
* ```
|
@@ -1315,14 +1315,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1315
1315
|
*
|
1316
1316
|
* ```
|
1317
1317
|
* <script type="module">
|
1318
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1318
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isobject.js';
|
1319
1319
|
* console.log(new IsObject())
|
1320
1320
|
* </script>
|
1321
1321
|
* ```
|
1322
1322
|
*
|
1323
1323
|
* @example
|
1324
1324
|
*
|
1325
|
-
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1325
|
+
* import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/isobject.js';
|
1326
1326
|
*
|
1327
1327
|
* new IsObject()
|
1328
1328
|
* .isValid({})
|
@@ -1420,7 +1420,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1420
1420
|
*
|
1421
1421
|
* ```
|
1422
1422
|
* <script type="module">
|
1423
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1423
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraint/oroperator.js';
|
1424
1424
|
* new Monster.Constraint.OrOperator();
|
1425
1425
|
* </script>
|
1426
1426
|
* ```
|
@@ -1429,16 +1429,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1429
1429
|
*
|
1430
1430
|
* ```
|
1431
1431
|
* <script type="module">
|
1432
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1432
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraint/oroperator.js';
|
1433
1433
|
* new OrOperator();
|
1434
1434
|
* </script>
|
1435
1435
|
* ```
|
1436
1436
|
*
|
1437
1437
|
* @example
|
1438
1438
|
*
|
1439
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1440
|
-
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1441
|
-
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1439
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/valid.js';
|
1440
|
+
* import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/invalid.js';
|
1441
|
+
* import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/oroperator.js';
|
1442
1442
|
*
|
1443
1443
|
* new OrOperator(
|
1444
1444
|
* new Valid(), new Invalid()).isValid()
|
@@ -1558,7 +1558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1558
1558
|
*
|
1559
1559
|
* ```
|
1560
1560
|
* <script type="module">
|
1561
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1561
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/valid.js';
|
1562
1562
|
* new Monster.Constraint.Valid();
|
1563
1563
|
* </script>
|
1564
1564
|
* ```
|
@@ -1567,14 +1567,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
1567
1567
|
*
|
1568
1568
|
* ```
|
1569
1569
|
* <script type="module">
|
1570
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1570
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/valid.js';
|
1571
1571
|
* new Valid();
|
1572
1572
|
* </script>
|
1573
1573
|
* ```
|
1574
1574
|
*
|
1575
1575
|
* @example
|
1576
1576
|
*
|
1577
|
-
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1577
|
+
* import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/constraints/valid.js';
|
1578
1578
|
*
|
1579
1579
|
* new Valid().isValid()
|
1580
1580
|
* .then(()=>console.log(true))
|
@@ -1669,7 +1669,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
1669
1669
|
*
|
1670
1670
|
* ```
|
1671
1671
|
* <script type="module">
|
1672
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1672
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/buildmap.js';
|
1673
1673
|
* console.log(Monster.Data.buildMap())
|
1674
1674
|
* </script>
|
1675
1675
|
* ```
|
@@ -1678,7 +1678,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
1678
1678
|
*
|
1679
1679
|
* ```
|
1680
1680
|
* <script type="module">
|
1681
|
-
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1681
|
+
* import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/buildmap.js';
|
1682
1682
|
* console.log(buildMap())
|
1683
1683
|
* </script>
|
1684
1684
|
* ```
|
@@ -1855,7 +1855,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
1855
1855
|
*
|
1856
1856
|
* ```
|
1857
1857
|
* <script type="module">
|
1858
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1858
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1859
1859
|
* console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
|
1860
1860
|
* console.log(Monster.Types.validateIterable([])) // ↦ value
|
1861
1861
|
* </script>
|
@@ -1865,7 +1865,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
1865
1865
|
*
|
1866
1866
|
* ```
|
1867
1867
|
* <script type="module">
|
1868
|
-
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1868
|
+
* import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1869
1869
|
* console.log(validateIterable('2')) // ↦ TypeError
|
1870
1870
|
* console.log(validateIterable([])) // ↦ value
|
1871
1871
|
* </script>
|
@@ -1896,7 +1896,7 @@ function validateIterable(value) {
|
|
1896
1896
|
*
|
1897
1897
|
* ```
|
1898
1898
|
* <script type="module">
|
1899
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1899
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1900
1900
|
* console.log(Monster.Types.validatePrimitive('2')) // ↦ value
|
1901
1901
|
* console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
|
1902
1902
|
* </script>
|
@@ -1906,7 +1906,7 @@ function validateIterable(value) {
|
|
1906
1906
|
*
|
1907
1907
|
* ```
|
1908
1908
|
* <script type="module">
|
1909
|
-
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1909
|
+
* import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1910
1910
|
* console.log(validatePrimitive('2')) // ↦ value
|
1911
1911
|
* console.log(validatePrimitive([])) // ↦ TypeError
|
1912
1912
|
* </script>
|
@@ -1938,7 +1938,7 @@ function validatePrimitive(value) {
|
|
1938
1938
|
*
|
1939
1939
|
* ```
|
1940
1940
|
* <script type="module">
|
1941
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1941
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1942
1942
|
* console.log(Monster.Types.validateBoolean(true)) // ↦ value
|
1943
1943
|
* console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
|
1944
1944
|
* console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
|
@@ -1949,7 +1949,7 @@ function validatePrimitive(value) {
|
|
1949
1949
|
*
|
1950
1950
|
* ```
|
1951
1951
|
* <script type="module">
|
1952
|
-
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1952
|
+
* import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1953
1953
|
* console.log(validateBoolean(false)) // ↦ value
|
1954
1954
|
* console.log(validateBoolean('2')) // ↦ TypeError
|
1955
1955
|
* console.log(validateBoolean([])) // ↦ TypeError
|
@@ -1980,7 +1980,7 @@ function validateBoolean(value) {
|
|
1980
1980
|
*
|
1981
1981
|
* ```
|
1982
1982
|
* <script type="module">
|
1983
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1983
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1984
1984
|
* console.log(Monster.Types.validateString('2')) // ↦ value
|
1985
1985
|
* console.log(Monster.Types.validateString([])) // ↦ TypeError
|
1986
1986
|
* </script>
|
@@ -1990,7 +1990,7 @@ function validateBoolean(value) {
|
|
1990
1990
|
*
|
1991
1991
|
* ```
|
1992
1992
|
* <script type="module">
|
1993
|
-
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
1993
|
+
* import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
1994
1994
|
* console.log(validateString('2')) // ↦ value
|
1995
1995
|
* console.log(validateString([])) // ↦ TypeError
|
1996
1996
|
* </script>
|
@@ -2019,7 +2019,7 @@ function validateString(value) {
|
|
2019
2019
|
*
|
2020
2020
|
* ```
|
2021
2021
|
* <script type="module">
|
2022
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2022
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2023
2023
|
* console.log(Monster.Types.validateObject({})) // ↦ value
|
2024
2024
|
* console.log(Monster.Types.validateObject('2')) // ↦ TypeError
|
2025
2025
|
* console.log(Monster.Types.validateObject([])) // ↦ TypeError
|
@@ -2030,7 +2030,7 @@ function validateString(value) {
|
|
2030
2030
|
*
|
2031
2031
|
* ```
|
2032
2032
|
* <script type="module">
|
2033
|
-
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2033
|
+
* import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2034
2034
|
* console.log(validateObject({})) // ↦ value
|
2035
2035
|
* console.log(validateObject('2')) // ↦ TypeError
|
2036
2036
|
* console.log(validateObject([])) // ↦ TypeError
|
@@ -2060,7 +2060,7 @@ function validateObject(value) {
|
|
2060
2060
|
*
|
2061
2061
|
* ```
|
2062
2062
|
* <script type="module">
|
2063
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2063
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2064
2064
|
* console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
|
2065
2065
|
* console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
|
2066
2066
|
* console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
|
@@ -2071,7 +2071,7 @@ function validateObject(value) {
|
|
2071
2071
|
*
|
2072
2072
|
* ```
|
2073
2073
|
* <script type="module">
|
2074
|
-
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2074
|
+
* import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2075
2075
|
* console.log(validateInstance({}, Object)) // ↦ value
|
2076
2076
|
* console.log(validateInstance('2', Object)) // ↦ TypeError
|
2077
2077
|
* console.log(validateInstance([], Object)) // ↦ TypeError
|
@@ -2111,7 +2111,7 @@ function validateInstance(value, instance) {
|
|
2111
2111
|
*
|
2112
2112
|
* ```
|
2113
2113
|
* <script type="module">
|
2114
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2114
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2115
2115
|
* console.log(Monster.Types.validateArray('2')) // ↦ TypeError
|
2116
2116
|
* console.log(Monster.Types.validateArray([])) // ↦ value
|
2117
2117
|
* </script>
|
@@ -2121,7 +2121,7 @@ function validateInstance(value, instance) {
|
|
2121
2121
|
*
|
2122
2122
|
* ```
|
2123
2123
|
* <script type="module">
|
2124
|
-
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2124
|
+
* import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2125
2125
|
* console.log(validateArray('2')) // ↦ TypeError
|
2126
2126
|
* console.log(validateArray([])) // ↦ value
|
2127
2127
|
* </script>
|
@@ -2150,7 +2150,7 @@ function validateArray(value) {
|
|
2150
2150
|
*
|
2151
2151
|
* ```
|
2152
2152
|
* <script type="module">
|
2153
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2153
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2154
2154
|
* console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
|
2155
2155
|
* console.log(Monster.Types.validateSymbol([])) // ↦ value
|
2156
2156
|
* </script>
|
@@ -2160,7 +2160,7 @@ function validateArray(value) {
|
|
2160
2160
|
*
|
2161
2161
|
* ```
|
2162
2162
|
* <script type="module">
|
2163
|
-
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2163
|
+
* import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2164
2164
|
* console.log(validateSymbol('2')) // ↦ TypeError
|
2165
2165
|
* console.log(validateSymbol()) // ↦ value
|
2166
2166
|
* </script>
|
@@ -2189,7 +2189,7 @@ function validateSymbol(value) {
|
|
2189
2189
|
*
|
2190
2190
|
* ```
|
2191
2191
|
* <script type="module">
|
2192
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2192
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2193
2193
|
* console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
|
2194
2194
|
* console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
|
2195
2195
|
* console.log(Monster.Types.validateFunction([])) // ↦ TypeError
|
@@ -2200,7 +2200,7 @@ function validateSymbol(value) {
|
|
2200
2200
|
*
|
2201
2201
|
* ```
|
2202
2202
|
* <script type="module">
|
2203
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2203
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2204
2204
|
* console.log(validateFunction(()=>{})) // ↦ value
|
2205
2205
|
* console.log(validateFunction('2')) // ↦ TypeError
|
2206
2206
|
* console.log(validateFunction([])) // ↦ TypeError
|
@@ -2230,7 +2230,7 @@ function validateFunction(value) {
|
|
2230
2230
|
*
|
2231
2231
|
* ```
|
2232
2232
|
* <script type="module">
|
2233
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2233
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2234
2234
|
* console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
|
2235
2235
|
* console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
|
2236
2236
|
* console.log(Monster.Types.validateInteger(2)) // ↦ value
|
@@ -2241,7 +2241,7 @@ function validateFunction(value) {
|
|
2241
2241
|
*
|
2242
2242
|
* ```
|
2243
2243
|
* <script type="module">
|
2244
|
-
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2244
|
+
* import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/validate.js';
|
2245
2245
|
* console.log(validateInteger(true)) // ↦ TypeError
|
2246
2246
|
* console.log(validateInteger('2')) // ↦ TypeError
|
2247
2247
|
* console.log(validateInteger(2)) // ↦ value
|
@@ -2353,7 +2353,7 @@ var WILDCARD = '*';
|
|
2353
2353
|
*
|
2354
2354
|
* ```
|
2355
2355
|
* <script type="module">
|
2356
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2356
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pathfinder.js';
|
2357
2357
|
* console.log(new Monster.Data.Pathfinder())
|
2358
2358
|
* </script>
|
2359
2359
|
* ```
|
@@ -2362,7 +2362,7 @@ var WILDCARD = '*';
|
|
2362
2362
|
*
|
2363
2363
|
* ```
|
2364
2364
|
* <script type="module">
|
2365
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2365
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pathfinder.js';
|
2366
2366
|
* console.log(new Pathfinder())
|
2367
2367
|
* </script>
|
2368
2368
|
* ```
|
@@ -2404,7 +2404,7 @@ var WILDCARD = '*';
|
|
2404
2404
|
*
|
2405
2405
|
* @example
|
2406
2406
|
*
|
2407
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2407
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pathfinder.js';
|
2408
2408
|
*
|
2409
2409
|
* let value = new Pathfinder({
|
2410
2410
|
* a: {
|
@@ -2430,7 +2430,7 @@ var WILDCARD = '*';
|
|
2430
2430
|
*
|
2431
2431
|
* @example
|
2432
2432
|
*
|
2433
|
-
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2433
|
+
* import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pathfinder.js';
|
2434
2434
|
*
|
2435
2435
|
* let p = new Pathfinder({
|
2436
2436
|
* a: {
|
@@ -2835,7 +2835,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
2835
2835
|
*
|
2836
2836
|
* ```
|
2837
2837
|
* <script type="module">
|
2838
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2838
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/stack.js';
|
2839
2839
|
* console.log(new Monster.Types.Stack())
|
2840
2840
|
* </script>
|
2841
2841
|
* ```
|
@@ -2844,7 +2844,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
2844
2844
|
*
|
2845
2845
|
* ```
|
2846
2846
|
* <script type="module">
|
2847
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2847
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/stack.js';
|
2848
2848
|
* console.log(new Stack())
|
2849
2849
|
* </script>
|
2850
2850
|
* ```
|
@@ -2977,7 +2977,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2977
2977
|
*
|
2978
2978
|
* ```
|
2979
2979
|
* <script type="module">
|
2980
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2980
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/diff.js';
|
2981
2981
|
* console.log(Monster.Data.Diff(a, b))
|
2982
2982
|
* </script>
|
2983
2983
|
* ```
|
@@ -2986,14 +2986,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
2986
2986
|
*
|
2987
2987
|
* ```
|
2988
2988
|
* <script type="module">
|
2989
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2989
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/diff.js';
|
2990
2990
|
* console.log(Diff(a, b))
|
2991
2991
|
* </script>
|
2992
2992
|
* ```
|
2993
2993
|
*
|
2994
2994
|
* @example
|
2995
2995
|
*
|
2996
|
-
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
2996
|
+
* import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/diff.js';
|
2997
2997
|
*
|
2998
2998
|
* // given are two objects x and y.
|
2999
2999
|
*
|
@@ -3242,7 +3242,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3242
3242
|
*
|
3243
3243
|
* ```
|
3244
3244
|
* <script type="module">
|
3245
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3245
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/extend.js';
|
3246
3246
|
* console.log(Monster.Data.extend(a, b))
|
3247
3247
|
* </script>
|
3248
3248
|
* ```
|
@@ -3251,7 +3251,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3251
3251
|
*
|
3252
3252
|
* ```
|
3253
3253
|
* <script type="module">
|
3254
|
-
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3254
|
+
* import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/extend.js';
|
3255
3255
|
* console.log(extend(a, b))
|
3256
3256
|
* </script>
|
3257
3257
|
* ```
|
@@ -3339,7 +3339,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
3339
3339
|
*
|
3340
3340
|
* ```
|
3341
3341
|
* <script type="module">
|
3342
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3342
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/typeof.js';
|
3343
3343
|
* console.log(Monster.Types.typeOf())
|
3344
3344
|
* </script>
|
3345
3345
|
* ```
|
@@ -3348,14 +3348,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
3348
3348
|
*
|
3349
3349
|
* ```
|
3350
3350
|
* <script type="module">
|
3351
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3351
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/typeof.js';
|
3352
3352
|
* console.log(typeOf())
|
3353
3353
|
* </script>
|
3354
3354
|
* ```
|
3355
3355
|
*
|
3356
3356
|
* @example
|
3357
3357
|
*
|
3358
|
-
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3358
|
+
* import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/typeof.js';
|
3359
3359
|
*
|
3360
3360
|
* console.log(typeOf(undefined)); // ↦ undefined
|
3361
3361
|
* console.log(typeOf("")); // ↦ string
|
@@ -3451,7 +3451,7 @@ var DELIMITER = '|';
|
|
3451
3451
|
*
|
3452
3452
|
* ```
|
3453
3453
|
* <script type="module">
|
3454
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3454
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pipe.js';
|
3455
3455
|
* console.log(new Monster.Data.Pipe())
|
3456
3456
|
* </script>
|
3457
3457
|
* ```
|
@@ -3460,7 +3460,7 @@ var DELIMITER = '|';
|
|
3460
3460
|
*
|
3461
3461
|
* ```
|
3462
3462
|
* <script type="module">
|
3463
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3463
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pipe.js';
|
3464
3464
|
* console.log(new Pipe())
|
3465
3465
|
* </script>
|
3466
3466
|
* ```
|
@@ -3471,7 +3471,7 @@ var DELIMITER = '|';
|
|
3471
3471
|
* the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
|
3472
3472
|
*
|
3473
3473
|
* @example
|
3474
|
-
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3474
|
+
* import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/pipe.js';
|
3475
3475
|
*
|
3476
3476
|
* let obj = {
|
3477
3477
|
* a: {
|
@@ -3633,7 +3633,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3633
3633
|
*
|
3634
3634
|
* ```
|
3635
3635
|
* <script type="module">
|
3636
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3636
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/transformer.js';
|
3637
3637
|
* console.log(new Monster.Data.Transformer())
|
3638
3638
|
* </script>
|
3639
3639
|
* ```
|
@@ -3642,7 +3642,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3642
3642
|
*
|
3643
3643
|
* ```
|
3644
3644
|
* <script type="module">
|
3645
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3645
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/transformer.js';
|
3646
3646
|
* console.log(new Transformer())
|
3647
3647
|
* </script>
|
3648
3648
|
* ```
|
@@ -3721,7 +3721,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
3721
3721
|
*
|
3722
3722
|
* @example
|
3723
3723
|
*
|
3724
|
-
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
3724
|
+
* import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/data/transformer.js';
|
3725
3725
|
*
|
3726
3726
|
* const transformer = new Transformer("tolower")
|
3727
3727
|
*
|
@@ -4183,7 +4183,7 @@ function getGlobal() {
|
|
4183
4183
|
*
|
4184
4184
|
* ```
|
4185
4185
|
* <script type="module">
|
4186
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4186
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/global.js';
|
4187
4187
|
* console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
|
4188
4188
|
* </script>
|
4189
4189
|
* ```
|
@@ -4192,7 +4192,7 @@ function getGlobal() {
|
|
4192
4192
|
*
|
4193
4193
|
* ```
|
4194
4194
|
* <script type="module">
|
4195
|
-
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4195
|
+
* import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/global.js';
|
4196
4196
|
* console.log(getGlobalObject('document')) // ↦ { }
|
4197
4197
|
* </script>
|
4198
4198
|
* ```
|
@@ -4223,7 +4223,7 @@ function getGlobalObject(name) {
|
|
4223
4223
|
*
|
4224
4224
|
* ```
|
4225
4225
|
* <script type="module">
|
4226
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4226
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/global.js';
|
4227
4227
|
* console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
4228
4228
|
* </script>
|
4229
4229
|
* ```
|
@@ -4232,7 +4232,7 @@ function getGlobalObject(name) {
|
|
4232
4232
|
*
|
4233
4233
|
* ```
|
4234
4234
|
* <script type="module">
|
4235
|
-
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4235
|
+
* import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/global.js';
|
4236
4236
|
* console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
|
4237
4237
|
* </script>
|
4238
4238
|
* ```
|
@@ -4319,7 +4319,7 @@ var internalCounter = new Map();
|
|
4319
4319
|
*
|
4320
4320
|
* ```
|
4321
4321
|
* <script type="module">
|
4322
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4322
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/id.js';
|
4323
4323
|
* console.log(new Monster.Types.ID())
|
4324
4324
|
* </script>
|
4325
4325
|
* ```
|
@@ -4328,7 +4328,7 @@ var internalCounter = new Map();
|
|
4328
4328
|
*
|
4329
4329
|
* ```
|
4330
4330
|
* <script type="module">
|
4331
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4331
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/id.js';
|
4332
4332
|
* console.log(new ID())
|
4333
4333
|
* </script>
|
4334
4334
|
* ```
|
@@ -4423,7 +4423,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
4423
4423
|
*
|
4424
4424
|
* ```
|
4425
4425
|
* <script type="module">
|
4426
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4426
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/clone.js';
|
4427
4427
|
* console.log(Monster.Util.clone({}))
|
4428
4428
|
* </script>
|
4429
4429
|
* ```
|
@@ -4432,7 +4432,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
4432
4432
|
*
|
4433
4433
|
* ```
|
4434
4434
|
* <script type="module">
|
4435
|
-
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4435
|
+
* import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/clone.js';
|
4436
4436
|
* console.log(clone({}))
|
4437
4437
|
* </script>
|
4438
4438
|
* ```
|
@@ -4610,7 +4610,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4610
4610
|
*
|
4611
4611
|
* ```
|
4612
4612
|
* <script type="module">
|
4613
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4613
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/assembler.js';
|
4614
4614
|
* console.log(new Monster.DOM.Assembler())
|
4615
4615
|
* </script>
|
4616
4616
|
* ```
|
@@ -4619,7 +4619,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
|
|
4619
4619
|
*
|
4620
4620
|
* ```
|
4621
4621
|
* <script type="module">
|
4622
|
-
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4622
|
+
* import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/assembler.js';
|
4623
4623
|
* console.log(new Assembler())
|
4624
4624
|
* </script>
|
4625
4625
|
* ```
|
@@ -4757,7 +4757,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4757
4757
|
*
|
4758
4758
|
* ```
|
4759
4759
|
* <script type="module">
|
4760
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4760
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/proxyobserver.js';
|
4761
4761
|
* console.log(new Monster.Types.ProxyObserver())
|
4762
4762
|
* </script>
|
4763
4763
|
* ```
|
@@ -4766,7 +4766,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4766
4766
|
*
|
4767
4767
|
* ```
|
4768
4768
|
* <script type="module">
|
4769
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4769
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/proxyobserver.js';
|
4770
4770
|
* console.log(new ProxyObserver())
|
4771
4771
|
* </script>
|
4772
4772
|
* ```
|
@@ -4777,9 +4777,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
4777
4777
|
*
|
4778
4778
|
* @example
|
4779
4779
|
*
|
4780
|
-
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4781
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4782
|
-
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
4780
|
+
* import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/proxyobserver.js';
|
4781
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observer.js';
|
4782
|
+
* import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/is.js';
|
4783
4783
|
*
|
4784
4784
|
* const o = new Observer(function () {
|
4785
4785
|
* if (isObject(this) && this instanceof ProxyObserver) {
|
@@ -5086,7 +5086,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5086
5086
|
*
|
5087
5087
|
* ```
|
5088
5088
|
* <script type="module">
|
5089
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5089
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observer.js';
|
5090
5090
|
* console.log(new Monster.Types.Observer())
|
5091
5091
|
* </script>
|
5092
5092
|
* ```
|
@@ -5095,7 +5095,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5095
5095
|
*
|
5096
5096
|
* ```
|
5097
5097
|
* <script type="module">
|
5098
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5098
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observer.js';
|
5099
5099
|
* console.log(new Observer())
|
5100
5100
|
* </script>
|
5101
5101
|
* ```
|
@@ -5129,7 +5129,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5129
5129
|
*
|
5130
5130
|
* @example
|
5131
5131
|
*
|
5132
|
-
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5132
|
+
* import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observer.js';
|
5133
5133
|
*
|
5134
5134
|
* const observer = new Observer(function(a, b, c) {
|
5135
5135
|
* console.log(this, a, b, c); // ↦ "a", 2, true
|
@@ -5329,7 +5329,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5329
5329
|
*
|
5330
5330
|
* ```
|
5331
5331
|
* <script type="module">
|
5332
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5332
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/tokenlist.js';
|
5333
5333
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5334
5334
|
* console.log(new Monster.Types.TokenList("myclass row"))
|
5335
5335
|
* </script>
|
@@ -5339,7 +5339,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5339
5339
|
*
|
5340
5340
|
* ```
|
5341
5341
|
* <script type="module">
|
5342
|
-
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5342
|
+
* import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/tokenlist.js';
|
5343
5343
|
* console.log(new TokenList("myclass row"))
|
5344
5344
|
* console.log(new TokenList("myclass row"))
|
5345
5345
|
* </script>
|
@@ -5762,7 +5762,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5762
5762
|
*
|
5763
5763
|
* ```
|
5764
5764
|
* <script type="module">
|
5765
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5765
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/uniquequeue.js';
|
5766
5766
|
* console.log(new Monster.Types.UniqueQueue())
|
5767
5767
|
* </script>
|
5768
5768
|
* ```
|
@@ -5771,7 +5771,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5771
5771
|
*
|
5772
5772
|
* ```
|
5773
5773
|
* <script type="module">
|
5774
|
-
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5774
|
+
* import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/uniquequeue.js';
|
5775
5775
|
* console.log(new UniqueQueue())
|
5776
5776
|
* </script>
|
5777
5777
|
* ```
|
@@ -5905,7 +5905,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5905
5905
|
*
|
5906
5906
|
* ```
|
5907
5907
|
* <script type="module">
|
5908
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5908
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/queue.js';
|
5909
5909
|
* console.log(new Monster.Types.Queue())
|
5910
5910
|
* </script>
|
5911
5911
|
* ```
|
@@ -5914,14 +5914,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
5914
5914
|
*
|
5915
5915
|
* ```
|
5916
5916
|
* <script type="module">
|
5917
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5917
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/queue.js';
|
5918
5918
|
* console.log(new Queue())
|
5919
5919
|
* </script>
|
5920
5920
|
* ```
|
5921
5921
|
*
|
5922
5922
|
* @example
|
5923
5923
|
*
|
5924
|
-
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
5924
|
+
* import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/queue.js';
|
5925
5925
|
*
|
5926
5926
|
* const queue = new Queue;
|
5927
5927
|
*
|
@@ -6089,7 +6089,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6089
6089
|
*
|
6090
6090
|
* ```
|
6091
6091
|
* <script type="module">
|
6092
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6092
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observerlist.js';
|
6093
6093
|
* console.log(new Monster.Types.ObserverList())
|
6094
6094
|
* console.log(new Monster.Types.ObserverList())
|
6095
6095
|
* </script>
|
@@ -6099,7 +6099,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
6099
6099
|
*
|
6100
6100
|
* ```
|
6101
6101
|
* <script type="module">
|
6102
|
-
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6102
|
+
* import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/observerlist.js';
|
6103
6103
|
* console.log(ObserverList())
|
6104
6104
|
* console.log(ObserverList())
|
6105
6105
|
* </script>
|
@@ -6258,7 +6258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6258
6258
|
*
|
6259
6259
|
* ```
|
6260
6260
|
* <script type="module">
|
6261
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6261
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/updater.js';
|
6262
6262
|
* console.log(Monster.DOM.findClosestObjectLink())
|
6263
6263
|
* </script>
|
6264
6264
|
* ```
|
@@ -6267,7 +6267,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
6267
6267
|
*
|
6268
6268
|
* ```
|
6269
6269
|
* <script type="module">
|
6270
|
-
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6270
|
+
* import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/updater.js';
|
6271
6271
|
* console.log(findClosestObjectLink())
|
6272
6272
|
* </script>
|
6273
6273
|
* ```
|
@@ -6288,7 +6288,7 @@ function findClosestObjectLink(element) {
|
|
6288
6288
|
*
|
6289
6289
|
* ```
|
6290
6290
|
* <script type="module">
|
6291
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6291
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6292
6292
|
* Monster.DOM.addToObjectLink();
|
6293
6293
|
* </script>
|
6294
6294
|
* ```
|
@@ -6297,7 +6297,7 @@ function findClosestObjectLink(element) {
|
|
6297
6297
|
*
|
6298
6298
|
* ```
|
6299
6299
|
* <script type="module">
|
6300
|
-
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6300
|
+
* import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6301
6301
|
* addToObjectLink();
|
6302
6302
|
* </script>
|
6303
6303
|
* ```
|
@@ -6329,7 +6329,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6329
6329
|
*
|
6330
6330
|
* ```
|
6331
6331
|
* <script type="module">
|
6332
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6332
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6333
6333
|
* Monster.DOM.removeObjectLink();
|
6334
6334
|
* </script>
|
6335
6335
|
* ```
|
@@ -6338,7 +6338,7 @@ function addToObjectLink(element, symbol, object) {
|
|
6338
6338
|
*
|
6339
6339
|
* ```
|
6340
6340
|
* <script type="module">
|
6341
|
-
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6341
|
+
* import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6342
6342
|
* removeObjectLink();
|
6343
6343
|
* </script>
|
6344
6344
|
* ```
|
@@ -6369,7 +6369,7 @@ function removeObjectLink(element, symbol) {
|
|
6369
6369
|
*
|
6370
6370
|
* ```
|
6371
6371
|
* <script type="module">
|
6372
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6372
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6373
6373
|
* Monster.DOM.hasObjectLink();
|
6374
6374
|
* </script>
|
6375
6375
|
* ```
|
@@ -6378,7 +6378,7 @@ function removeObjectLink(element, symbol) {
|
|
6378
6378
|
*
|
6379
6379
|
* ```
|
6380
6380
|
* <script type="module">
|
6381
|
-
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6381
|
+
* import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6382
6382
|
* hasObjectLink();
|
6383
6383
|
* </script>
|
6384
6384
|
* ```
|
@@ -6414,7 +6414,7 @@ function hasObjectLink(element, symbol) {
|
|
6414
6414
|
*
|
6415
6415
|
* ```
|
6416
6416
|
* <script type="module">
|
6417
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6417
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6418
6418
|
* Monster.DOM.getLinkedObjects();
|
6419
6419
|
* </script>
|
6420
6420
|
* ```
|
@@ -6423,7 +6423,7 @@ function hasObjectLink(element, symbol) {
|
|
6423
6423
|
*
|
6424
6424
|
* ```
|
6425
6425
|
* <script type="module">
|
6426
|
-
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6426
|
+
* import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6427
6427
|
* getLinkedObjects();
|
6428
6428
|
* </script>
|
6429
6429
|
* ```
|
@@ -6457,7 +6457,7 @@ function getLinkedObjects(element, symbol) {
|
|
6457
6457
|
*
|
6458
6458
|
* ```
|
6459
6459
|
* <script type="module">
|
6460
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6460
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6461
6461
|
* Monster.DOM.toggleAttributeToken();
|
6462
6462
|
* </script>
|
6463
6463
|
* ```
|
@@ -6466,7 +6466,7 @@ function getLinkedObjects(element, symbol) {
|
|
6466
6466
|
*
|
6467
6467
|
* ```
|
6468
6468
|
* <script type="module">
|
6469
|
-
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6469
|
+
* import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6470
6470
|
* toggleAttributeToken();
|
6471
6471
|
* </script>
|
6472
6472
|
* ```
|
@@ -6501,7 +6501,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6501
6501
|
*
|
6502
6502
|
* ```
|
6503
6503
|
* <script type="module">
|
6504
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6504
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6505
6505
|
* Monster.DOM.addAttributeToken();
|
6506
6506
|
* </script>
|
6507
6507
|
* ```
|
@@ -6510,7 +6510,7 @@ function toggleAttributeToken(element, key, token) {
|
|
6510
6510
|
*
|
6511
6511
|
* ```
|
6512
6512
|
* <script type="module">
|
6513
|
-
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6513
|
+
* import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6514
6514
|
* addAttributeToken();
|
6515
6515
|
* </script>
|
6516
6516
|
* ```
|
@@ -6547,7 +6547,7 @@ function addAttributeToken(element, key, token) {
|
|
6547
6547
|
*
|
6548
6548
|
* ```
|
6549
6549
|
* <script type="module">
|
6550
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6550
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6551
6551
|
* Monster.DOM.removeAttributeToken();
|
6552
6552
|
* </script>
|
6553
6553
|
* ```
|
@@ -6556,7 +6556,7 @@ function addAttributeToken(element, key, token) {
|
|
6556
6556
|
*
|
6557
6557
|
* ```
|
6558
6558
|
* <script type="module">
|
6559
|
-
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6559
|
+
* import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6560
6560
|
* removeAttributeToken();
|
6561
6561
|
* </script>
|
6562
6562
|
* ```
|
@@ -6592,7 +6592,7 @@ function removeAttributeToken(element, key, token) {
|
|
6592
6592
|
*
|
6593
6593
|
* ```
|
6594
6594
|
* <script type="module">
|
6595
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6595
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6596
6596
|
* Monster.DOM.containsAttributeToken();
|
6597
6597
|
* </script>
|
6598
6598
|
* ```
|
@@ -6601,7 +6601,7 @@ function removeAttributeToken(element, key, token) {
|
|
6601
6601
|
*
|
6602
6602
|
* ```
|
6603
6603
|
* <script type="module">
|
6604
|
-
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6604
|
+
* import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6605
6605
|
* containsAttributeToken();
|
6606
6606
|
* </script>
|
6607
6607
|
* ```
|
@@ -6634,7 +6634,7 @@ function containsAttributeToken(element, key, token) {
|
|
6634
6634
|
*
|
6635
6635
|
* ```
|
6636
6636
|
* <script type="module">
|
6637
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6637
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6638
6638
|
* Monster.DOM.replaceAttributeToken();
|
6639
6639
|
* </script>
|
6640
6640
|
* ```
|
@@ -6643,7 +6643,7 @@ function containsAttributeToken(element, key, token) {
|
|
6643
6643
|
*
|
6644
6644
|
* ```
|
6645
6645
|
* <script type="module">
|
6646
|
-
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6646
|
+
* import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6647
6647
|
* replaceAttributeToken();
|
6648
6648
|
* </script>
|
6649
6649
|
* ```
|
@@ -6679,7 +6679,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6679
6679
|
*
|
6680
6680
|
* ```
|
6681
6681
|
* <script type="module">
|
6682
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6682
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6683
6683
|
* Monster.DOM.clearAttributeTokens();
|
6684
6684
|
* </script>
|
6685
6685
|
* ```
|
@@ -6688,7 +6688,7 @@ function replaceAttributeToken(element, key, from, to) {
|
|
6688
6688
|
*
|
6689
6689
|
* ```
|
6690
6690
|
* <script type="module">
|
6691
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6691
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6692
6692
|
* clearAttributeTokens();
|
6693
6693
|
* </script>
|
6694
6694
|
* ```
|
@@ -6718,7 +6718,7 @@ function clearAttributeTokens(element, key) {
|
|
6718
6718
|
*
|
6719
6719
|
* ```
|
6720
6720
|
* <script type="module">
|
6721
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6721
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6722
6722
|
* Monster.DOM.findClosestByAttribute();
|
6723
6723
|
* </script>
|
6724
6724
|
* ```
|
@@ -6727,7 +6727,7 @@ function clearAttributeTokens(element, key) {
|
|
6727
6727
|
*
|
6728
6728
|
* ```
|
6729
6729
|
* <script type="module">
|
6730
|
-
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6730
|
+
* import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/attributes.js';
|
6731
6731
|
* findClosestByAttribute();
|
6732
6732
|
* </script>
|
6733
6733
|
* ```
|
@@ -6969,7 +6969,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
6969
6969
|
*
|
6970
6970
|
* ```
|
6971
6971
|
* <script type="module">
|
6972
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6972
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/customcontrol.js';
|
6973
6973
|
* console.log(new Monster.DOM.CustomControl())
|
6974
6974
|
* </script>
|
6975
6975
|
* ```
|
@@ -6978,7 +6978,7 @@ var internalSymbol = Symbol('internalSymbol');
|
|
6978
6978
|
*
|
6979
6979
|
* ```
|
6980
6980
|
* <script type="module">
|
6981
|
-
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
6981
|
+
* import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/customcontrol.js';
|
6982
6982
|
* console.log(new CustomControl())
|
6983
6983
|
* </script>
|
6984
6984
|
* ```
|
@@ -7419,7 +7419,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7419
7419
|
*
|
7420
7420
|
* ```
|
7421
7421
|
* <script type="module">
|
7422
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
7422
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/customelement.js';
|
7423
7423
|
* console.log(new Monster.DOM.CustomElement())
|
7424
7424
|
* </script>
|
7425
7425
|
* ```
|
@@ -7428,7 +7428,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
|
|
7428
7428
|
*
|
7429
7429
|
* ```
|
7430
7430
|
* <script type="module">
|
7431
|
-
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
7431
|
+
* import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/customelement.js';
|
7432
7432
|
* console.log(new CustomElement())
|
7433
7433
|
* </script>
|
7434
7434
|
* ```
|
@@ -7758,9 +7758,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
|
|
7758
7758
|
var self = this;
|
7759
7759
|
|
7760
7760
|
if (!(0,_attributes_js__WEBPACK_IMPORTED_MODULE_10__.hasObjectLink)(self, objectLinkSymbol)) {
|
7761
|
-
|
7762
|
-
self[assembleMethodSymbol]();
|
7763
|
-
}, 0);
|
7761
|
+
self[assembleMethodSymbol]();
|
7764
7762
|
}
|
7765
7763
|
}
|
7766
7764
|
/**
|
@@ -8057,7 +8055,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8057
8055
|
*
|
8058
8056
|
* ```
|
8059
8057
|
* <script type="module">
|
8060
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8058
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/template.js';
|
8061
8059
|
* console.log(new Monster.DOM.Template())
|
8062
8060
|
* </script>
|
8063
8061
|
* ```
|
@@ -8066,7 +8064,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8066
8064
|
*
|
8067
8065
|
* ```
|
8068
8066
|
* <script type="module">
|
8069
|
-
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8067
|
+
* import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/template.js';
|
8070
8068
|
* console.log(new Template())
|
8071
8069
|
* </script>
|
8072
8070
|
* ```
|
@@ -8132,7 +8130,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
8132
8130
|
*
|
8133
8131
|
* ```
|
8134
8132
|
* <script type="module">
|
8135
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8133
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/template.js';
|
8136
8134
|
* console.log(Monster.DOM.findDocumentTemplate())
|
8137
8135
|
* </script>
|
8138
8136
|
* ```
|
@@ -8141,7 +8139,7 @@ var Template = /*#__PURE__*/function (_Base) {
|
|
8141
8139
|
*
|
8142
8140
|
* ```
|
8143
8141
|
* <script type="module">
|
8144
|
-
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8142
|
+
* import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/template.js';
|
8145
8143
|
* console.log(findDocumentTemplate())
|
8146
8144
|
* </script>
|
8147
8145
|
* ```
|
@@ -8162,7 +8160,11 @@ function findDocumentTemplate(id, currentNode) {
|
|
8162
8160
|
|
8163
8161
|
if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) {
|
8164
8162
|
if (currentNode instanceof Node) {
|
8165
|
-
currentNode = currentNode.
|
8163
|
+
currentNode = currentNode.getRootNode();
|
8164
|
+
|
8165
|
+
if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) {
|
8166
|
+
currentNode = currentNode.ownerDocument;
|
8167
|
+
}
|
8166
8168
|
}
|
8167
8169
|
|
8168
8170
|
if (!(currentNode instanceof Document || currentNode instanceof DocumentFragment)) {
|
@@ -8247,7 +8249,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8247
8249
|
*
|
8248
8250
|
* ```
|
8249
8251
|
* <script type="module">
|
8250
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8252
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/theme.js';
|
8251
8253
|
* console.log(new Monster.DOM.Theme())
|
8252
8254
|
* </script>
|
8253
8255
|
* ```
|
@@ -8256,14 +8258,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8256
8258
|
*
|
8257
8259
|
* ```
|
8258
8260
|
* <script type="module">
|
8259
|
-
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8261
|
+
* import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/theme.js';
|
8260
8262
|
* console.log(new Theme())
|
8261
8263
|
* </script>
|
8262
8264
|
* ```
|
8263
8265
|
*
|
8264
8266
|
* @example
|
8265
8267
|
*
|
8266
|
-
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8268
|
+
* import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/theme.js';
|
8267
8269
|
*
|
8268
8270
|
* const theme = getDocumentTheme();
|
8269
8271
|
* console.log(theme.getName());
|
@@ -8431,7 +8433,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8431
8433
|
*
|
8432
8434
|
* ```
|
8433
8435
|
* <script type="module">
|
8434
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8436
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/updater.js';
|
8435
8437
|
* console.log(new Monster.DOM.Updater())
|
8436
8438
|
* </script>
|
8437
8439
|
* ```
|
@@ -8440,14 +8442,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
8440
8442
|
*
|
8441
8443
|
* ```
|
8442
8444
|
* <script type="module">
|
8443
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8445
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/updater.js';
|
8444
8446
|
* console.log(new Updater())
|
8445
8447
|
* </script>
|
8446
8448
|
* ```
|
8447
8449
|
*
|
8448
8450
|
* @example
|
8449
8451
|
*
|
8450
|
-
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
8452
|
+
* import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/updater.js';
|
8451
8453
|
*
|
8452
8454
|
* // First we prepare the html document.
|
8453
8455
|
* // This is done here via script, but can also be inserted into the document as pure html.
|
@@ -9278,7 +9280,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
9278
9280
|
*
|
9279
9281
|
* ```
|
9280
9282
|
* <script type="module">
|
9281
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9283
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9282
9284
|
* console.log(Monster.DOM.getDocument())
|
9283
9285
|
* </script>
|
9284
9286
|
* ```
|
@@ -9287,7 +9289,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
9287
9289
|
*
|
9288
9290
|
* ```
|
9289
9291
|
* <script type="module">
|
9290
|
-
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9292
|
+
* import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9291
9293
|
* console.log(getDocument())
|
9292
9294
|
* </script>
|
9293
9295
|
* ```
|
@@ -9342,7 +9344,7 @@ function getDocument() {
|
|
9342
9344
|
*
|
9343
9345
|
* ```
|
9344
9346
|
* <script type="module">
|
9345
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9347
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9346
9348
|
* console.log(Monster.DOM.getWindow())
|
9347
9349
|
* </script>
|
9348
9350
|
* ```
|
@@ -9351,7 +9353,7 @@ function getDocument() {
|
|
9351
9353
|
*
|
9352
9354
|
* ```
|
9353
9355
|
* <script type="module">
|
9354
|
-
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9356
|
+
* import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9355
9357
|
* console.log(getWindow(null))
|
9356
9358
|
* </script>
|
9357
9359
|
* ```
|
@@ -9411,7 +9413,7 @@ function getWindow() {
|
|
9411
9413
|
*
|
9412
9414
|
* ```
|
9413
9415
|
* <script type="module">
|
9414
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9416
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9415
9417
|
* console.log(Monster.DOM.getDocumentFragmentFromString())
|
9416
9418
|
* </script>
|
9417
9419
|
* ```
|
@@ -9420,7 +9422,7 @@ function getWindow() {
|
|
9420
9422
|
*
|
9421
9423
|
* ```
|
9422
9424
|
* <script type="module">
|
9423
|
-
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9425
|
+
* import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/util.js';
|
9424
9426
|
* console.log(getDocumentFragmentFromString('<div></div>'))
|
9425
9427
|
* </script>
|
9426
9428
|
* ```
|
@@ -9506,7 +9508,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
9506
9508
|
*
|
9507
9509
|
* ```
|
9508
9510
|
* <script type="module">
|
9509
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9511
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/events.js';
|
9510
9512
|
* console.log(new Monster.DOM.fireEvent())
|
9511
9513
|
* </script>
|
9512
9514
|
* ```
|
@@ -9515,7 +9517,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
9515
9517
|
*
|
9516
9518
|
* ```
|
9517
9519
|
* <script type="module">
|
9518
|
-
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9520
|
+
* import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/events.js';
|
9519
9521
|
* console.log(fireEvent())
|
9520
9522
|
* </script>
|
9521
9523
|
* ```
|
@@ -9569,7 +9571,7 @@ function fireEvent(element, type) {
|
|
9569
9571
|
*
|
9570
9572
|
* ```
|
9571
9573
|
* <script type="module">
|
9572
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9574
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/events.js';
|
9573
9575
|
* console.log(new Monster.DOM.findTargetElementFromEvent())
|
9574
9576
|
* </script>
|
9575
9577
|
* ```
|
@@ -9578,7 +9580,7 @@ function fireEvent(element, type) {
|
|
9578
9580
|
*
|
9579
9581
|
* ```
|
9580
9582
|
* <script type="module">
|
9581
|
-
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9583
|
+
* import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/events.js';
|
9582
9584
|
* console.log(findTargetElementFromEvent())
|
9583
9585
|
* </script>
|
9584
9586
|
* ```
|
@@ -9648,7 +9650,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
9648
9650
|
*
|
9649
9651
|
* ```
|
9650
9652
|
* <script type="module">
|
9651
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9653
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/locale.js';
|
9652
9654
|
* console.log(new Monster.DOM.getLocaleOfDocument())
|
9653
9655
|
* </script>
|
9654
9656
|
* ```
|
@@ -9657,7 +9659,7 @@ var DEFAULT_LANGUAGE = 'en';
|
|
9657
9659
|
*
|
9658
9660
|
* ```
|
9659
9661
|
* <script type="module">
|
9660
|
-
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9662
|
+
* import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/dom/locale.js';
|
9661
9663
|
* console.log(new getLocaleOfDocument())
|
9662
9664
|
* </script>
|
9663
9665
|
* ```
|
@@ -9747,7 +9749,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
9747
9749
|
*
|
9748
9750
|
* ```
|
9749
9751
|
* <script type="module">
|
9750
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9752
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/locale.js';
|
9751
9753
|
* console.log(new Monster.I18n.Locale())
|
9752
9754
|
* </script>
|
9753
9755
|
* ```
|
@@ -9756,7 +9758,7 @@ var localeStringSymbol = Symbol('localeString');
|
|
9756
9758
|
*
|
9757
9759
|
* ```
|
9758
9760
|
* <script type="module">
|
9759
|
-
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9761
|
+
* import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/locale.js';
|
9760
9762
|
* console.log(new Locale())
|
9761
9763
|
* </script>
|
9762
9764
|
* ```
|
@@ -9936,7 +9938,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
9936
9938
|
*
|
9937
9939
|
* ```
|
9938
9940
|
* <script type="module">
|
9939
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9941
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/locale.js';
|
9940
9942
|
* console.log(new Monster.I18n.createLocale())
|
9941
9943
|
* </script>
|
9942
9944
|
* ```
|
@@ -9945,7 +9947,7 @@ var Locale = /*#__PURE__*/function (_Base) {
|
|
9945
9947
|
*
|
9946
9948
|
* ```
|
9947
9949
|
* <script type="module">
|
9948
|
-
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
9950
|
+
* import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/locale.js';
|
9949
9951
|
* console.log(createLocale())
|
9950
9952
|
* </script>
|
9951
9953
|
* ```
|
@@ -10121,7 +10123,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10121
10123
|
*
|
10122
10124
|
* ```
|
10123
10125
|
* <script type="module">
|
10124
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10126
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/provider.js';
|
10125
10127
|
* console.log(new Monster.I18n.Provider())
|
10126
10128
|
* </script>
|
10127
10129
|
* ```
|
@@ -10130,7 +10132,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10130
10132
|
*
|
10131
10133
|
* ```
|
10132
10134
|
* <script type="module">
|
10133
|
-
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10135
|
+
* import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/provider.js';
|
10134
10136
|
* console.log(new Provider())
|
10135
10137
|
* </script>
|
10136
10138
|
* ```
|
@@ -10238,7 +10240,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
10238
10240
|
*
|
10239
10241
|
* ```
|
10240
10242
|
* <script type="module">
|
10241
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10243
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/basewithoptions.js';
|
10242
10244
|
* console.log(new Monster.Types.BaseWithOptions())
|
10243
10245
|
* </script>
|
10244
10246
|
* ```
|
@@ -10247,7 +10249,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
10247
10249
|
*
|
10248
10250
|
* ```
|
10249
10251
|
* <script type="module">
|
10250
|
-
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10252
|
+
* import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/basewithoptions.js';
|
10251
10253
|
* console.log(new BaseWithOptions())
|
10252
10254
|
* </script>
|
10253
10255
|
* ```
|
@@ -10388,7 +10390,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10388
10390
|
*
|
10389
10391
|
* ```
|
10390
10392
|
* <script type="module">
|
10391
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10393
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/translations.js';
|
10392
10394
|
* console.log(new Monster.I18n.Translations())
|
10393
10395
|
* </script>
|
10394
10396
|
* ```
|
@@ -10397,7 +10399,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10397
10399
|
*
|
10398
10400
|
* ```
|
10399
10401
|
* <script type="module">
|
10400
|
-
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10402
|
+
* import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/translations.js';
|
10401
10403
|
* console.log(new Translations())
|
10402
10404
|
* </script>
|
10403
10405
|
* ```
|
@@ -10673,7 +10675,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
10673
10675
|
*
|
10674
10676
|
* ```
|
10675
10677
|
* <script type="module">
|
10676
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10678
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/providers/fetch.js';
|
10677
10679
|
* console.log(new Monster.I18n.Providers.Fetch())
|
10678
10680
|
* </script>
|
10679
10681
|
* ```
|
@@ -10682,7 +10684,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
|
|
10682
10684
|
*
|
10683
10685
|
* ```
|
10684
10686
|
* <script type="module">
|
10685
|
-
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10687
|
+
* import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/i18n/providers/fetch.js';
|
10686
10688
|
* console.log(new Fetch())
|
10687
10689
|
* </script>
|
10688
10690
|
* ```
|
@@ -10834,7 +10836,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10834
10836
|
*
|
10835
10837
|
* ```
|
10836
10838
|
* <script type="module">
|
10837
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10839
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/text/formatter.js';
|
10838
10840
|
* console.log(new Monster.Text.Formatter())
|
10839
10841
|
* </script>
|
10840
10842
|
* ```
|
@@ -10843,7 +10845,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
10843
10845
|
*
|
10844
10846
|
* ```
|
10845
10847
|
* <script type="module">
|
10846
|
-
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
10848
|
+
* import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/text/formatter.js';
|
10847
10849
|
* console.log(new Formatter())
|
10848
10850
|
* </script>
|
10849
10851
|
* ```
|
@@ -11026,7 +11028,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11026
11028
|
*
|
11027
11029
|
* ```
|
11028
11030
|
* <script type="module">
|
11029
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11031
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/handler.js';
|
11030
11032
|
* console.log(new Monster.Logging.Handler())
|
11031
11033
|
* </script>
|
11032
11034
|
* ```
|
@@ -11035,7 +11037,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11035
11037
|
*
|
11036
11038
|
* ```
|
11037
11039
|
* <script type="module">
|
11038
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11040
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/handler.js';
|
11039
11041
|
* console.log(new Handler())
|
11040
11042
|
* </script>
|
11041
11043
|
* ```
|
@@ -11273,7 +11275,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11273
11275
|
*
|
11274
11276
|
* ```
|
11275
11277
|
* <script type="module">
|
11276
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11278
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/logentry.js';
|
11277
11279
|
* console.log(new Monster.Logging.LogEntry())
|
11278
11280
|
* </script>
|
11279
11281
|
* ```
|
@@ -11282,7 +11284,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11282
11284
|
*
|
11283
11285
|
* ```
|
11284
11286
|
* <script type="module">
|
11285
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11287
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/logentry.js';
|
11286
11288
|
* console.log(new LogEntry())
|
11287
11289
|
* </script>
|
11288
11290
|
* ```
|
@@ -11468,7 +11470,7 @@ var OFF = 0;
|
|
11468
11470
|
*
|
11469
11471
|
* ```
|
11470
11472
|
* <script type="module">
|
11471
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11473
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/logger.js';
|
11472
11474
|
* console.log(new Monster.Logging.Logger())
|
11473
11475
|
* </script>
|
11474
11476
|
* ```
|
@@ -11477,7 +11479,7 @@ var OFF = 0;
|
|
11477
11479
|
*
|
11478
11480
|
* ```
|
11479
11481
|
* <script type="module">
|
11480
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11482
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/logger.js';
|
11481
11483
|
* console.log(new Logger())
|
11482
11484
|
* </script>
|
11483
11485
|
* ```
|
@@ -11766,7 +11768,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11766
11768
|
*
|
11767
11769
|
* ```
|
11768
11770
|
* <script type="module">
|
11769
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11771
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/handler/console.js';
|
11770
11772
|
* console.log(new Monster.Logging.Handler.ConsoleHandler())
|
11771
11773
|
* </script>
|
11772
11774
|
* ```
|
@@ -11775,7 +11777,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
11775
11777
|
*
|
11776
11778
|
* ```
|
11777
11779
|
* <script type="module">
|
11778
|
-
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11780
|
+
* import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/logging/handler/console.js';
|
11779
11781
|
* console.log(new ConsoleHandler())
|
11780
11782
|
* </script>
|
11781
11783
|
* ```
|
@@ -11846,7 +11848,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11846
11848
|
*
|
11847
11849
|
* ```
|
11848
11850
|
* <script type="module">
|
11849
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11851
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/math/random.js';
|
11850
11852
|
* console.log(Monster.Math.random(1,10)) // ↦ 5
|
11851
11853
|
* </script>
|
11852
11854
|
* ```
|
@@ -11855,7 +11857,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11855
11857
|
*
|
11856
11858
|
* ```
|
11857
11859
|
* <script type="module">
|
11858
|
-
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
11860
|
+
* import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/math/random.js';
|
11859
11861
|
* console.log(random(1,10)) // ↦ 5
|
11860
11862
|
* </script>
|
11861
11863
|
* ```
|
@@ -12007,7 +12009,7 @@ var internalCounter = 0;
|
|
12007
12009
|
*
|
12008
12010
|
* ```
|
12009
12011
|
* <script type="module">
|
12010
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12012
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/randomid.js';
|
12011
12013
|
* console.log(new Monster.Types.RandomID())
|
12012
12014
|
* </script>
|
12013
12015
|
* ```
|
@@ -12016,7 +12018,7 @@ var internalCounter = 0;
|
|
12016
12018
|
*
|
12017
12019
|
* ```
|
12018
12020
|
* <script type="module">
|
12019
|
-
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12021
|
+
* import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/randomid.js';
|
12020
12022
|
* console.log(new RandomID())
|
12021
12023
|
* </script>
|
12022
12024
|
* ```
|
@@ -12098,7 +12100,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12098
12100
|
*
|
12099
12101
|
* ```
|
12100
12102
|
* <script type="module">
|
12101
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12103
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/version.js';
|
12102
12104
|
* console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
|
12103
12105
|
* console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
|
12104
12106
|
* </script>
|
@@ -12108,7 +12110,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12108
12110
|
*
|
12109
12111
|
* ```
|
12110
12112
|
* <script type="module">
|
12111
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12113
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/version.js';
|
12112
12114
|
* console.log(new Version('1.2.3')) // ↦ 1.2.3
|
12113
12115
|
* console.log(new Version('1')) // ↦ 1.0.0
|
12114
12116
|
* </script>
|
@@ -12116,7 +12118,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12116
12118
|
*
|
12117
12119
|
* @example
|
12118
12120
|
*
|
12119
|
-
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12121
|
+
* import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/version.js';
|
12120
12122
|
*
|
12121
12123
|
* new Version('1.0.0') // ↦ 1.0.0
|
12122
12124
|
* new Version(1) // ↦ 1.0.0
|
@@ -12249,7 +12251,7 @@ var monsterVersion;
|
|
12249
12251
|
*
|
12250
12252
|
* ```
|
12251
12253
|
* <script type="module">
|
12252
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12254
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/version.js';
|
12253
12255
|
* console.log(Monster.getVersion())
|
12254
12256
|
* </script>
|
12255
12257
|
* ```
|
@@ -12258,7 +12260,7 @@ var monsterVersion;
|
|
12258
12260
|
*
|
12259
12261
|
* ```
|
12260
12262
|
* <script type="module">
|
12261
|
-
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12263
|
+
* import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/types/version.js';
|
12262
12264
|
* console.log(getVersion())
|
12263
12265
|
* </script>
|
12264
12266
|
* ```
|
@@ -12277,7 +12279,7 @@ function getVersion() {
|
|
12277
12279
|
/**#@+ dont touch, replaced by make with package.json version */
|
12278
12280
|
|
12279
12281
|
|
12280
|
-
monsterVersion = new Version('1.15.
|
12282
|
+
monsterVersion = new Version('1.15.3');
|
12281
12283
|
/**#@-*/
|
12282
12284
|
|
12283
12285
|
return monsterVersion;
|
@@ -12333,7 +12335,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12333
12335
|
*
|
12334
12336
|
* ```
|
12335
12337
|
* <script type="module">
|
12336
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12338
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/comparator.js';
|
12337
12339
|
* console.log(new Monster.Util.Comparator())
|
12338
12340
|
* </script>
|
12339
12341
|
* ```
|
@@ -12342,7 +12344,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12342
12344
|
*
|
12343
12345
|
* ```
|
12344
12346
|
* <script type="module">
|
12345
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12347
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/comparator.js';
|
12346
12348
|
* console.log(new Comparator())
|
12347
12349
|
* </script>
|
12348
12350
|
* ```
|
@@ -12367,7 +12369,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
12367
12369
|
*
|
12368
12370
|
* @example
|
12369
12371
|
*
|
12370
|
-
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12372
|
+
* import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/comparator.js';
|
12371
12373
|
*
|
12372
12374
|
* console.log(new Comparator().lessThanOrEqual(2, 5))
|
12373
12375
|
* // ↦ true
|
@@ -12551,7 +12553,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
12551
12553
|
*
|
12552
12554
|
* ```
|
12553
12555
|
* <script type="module">
|
12554
|
-
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12556
|
+
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/freeze.js';
|
12555
12557
|
* console.log(Monster.Util.deepFreeze({}))
|
12556
12558
|
* </script>
|
12557
12559
|
* ```
|
@@ -12560,7 +12562,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
12560
12562
|
*
|
12561
12563
|
* ```
|
12562
12564
|
* <script type="module">
|
12563
|
-
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.
|
12565
|
+
* import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.3/dist/modules/util/freeze.js';
|
12564
12566
|
* console.log(deepFreeze({}))
|
12565
12567
|
* </script>
|
12566
12568
|
* ```
|