@schukai/monster 1.14.0 → 1.15.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG +38 -0
- package/README.md +5 -5
- package/dist/modules/constants.js +2 -2
- package/dist/modules/constraints/abstract.js +2 -2
- package/dist/modules/constraints/abstractoperator.js +2 -2
- package/dist/modules/constraints/andoperator.js +2 -2
- package/dist/modules/constraints/invalid.js +2 -2
- package/dist/modules/constraints/isarray.js +2 -2
- package/dist/modules/constraints/isobject.js +2 -2
- package/dist/modules/constraints/namespace.js +1 -1
- package/dist/modules/constraints/oroperator.js +2 -2
- package/dist/modules/constraints/valid.js +2 -2
- package/dist/modules/data/buildmap.js +2 -2
- package/dist/modules/data/diff.js +2 -2
- package/dist/modules/data/extend.js +2 -2
- package/dist/modules/data/namespace.js +1 -1
- package/dist/modules/data/pathfinder.js +2 -2
- package/dist/modules/data/pipe.js +2 -2
- package/dist/modules/data/transformer.js +2 -2
- package/dist/modules/dom/assembler.js +2 -2
- package/dist/modules/dom/attributes.js +2 -2
- package/dist/modules/dom/constants.js +1 -1
- package/dist/modules/dom/customcontrol.js +2 -2
- package/dist/modules/dom/customelement.js +2 -2
- package/dist/modules/dom/events.js +2 -2
- package/dist/modules/dom/locale.js +2 -2
- package/dist/modules/dom/namespace.js +1 -1
- package/dist/modules/dom/template.js +2 -2
- package/dist/modules/dom/theme.js +2 -2
- package/dist/modules/dom/updater.js +2 -2
- package/dist/modules/dom/util.js +2 -2
- package/dist/modules/i18n/locale.js +2 -2
- package/dist/modules/i18n/namespace.js +1 -1
- package/dist/modules/i18n/provider.js +2 -2
- package/dist/modules/i18n/providers/fetch.js +2 -2
- package/dist/modules/i18n/providers/namespace.js +1 -1
- package/dist/modules/i18n/translations.js +2 -2
- package/dist/modules/logging/handler/console.js +2 -2
- package/dist/modules/logging/handler/namespace.js +1 -1
- package/dist/modules/logging/handler.js +2 -2
- package/dist/modules/logging/logentry.js +2 -2
- package/dist/modules/logging/logger.js +2 -2
- package/dist/modules/logging/namespace.js +1 -1
- package/dist/modules/math/namespace.js +1 -1
- package/dist/modules/math/random.js +2 -2
- package/dist/modules/monster.js +2 -2
- package/dist/modules/namespace.js +2 -2
- package/dist/modules/text/formatter.js +2 -2
- package/dist/modules/text/namespace.js +1 -1
- package/dist/modules/types/base.js +2 -2
- package/dist/modules/types/basewithoptions.js +2 -2
- package/dist/modules/types/global.js +2 -2
- package/dist/modules/types/id.js +2 -2
- package/dist/modules/types/is.js +2 -2
- package/dist/modules/types/namespace.js +1 -1
- package/dist/modules/types/observer.js +2 -2
- package/dist/modules/types/observerlist.js +2 -2
- package/dist/modules/types/proxyobserver.js +2 -2
- package/dist/modules/types/queue.js +2 -2
- package/dist/modules/types/randomid.js +2 -2
- package/dist/modules/types/stack.js +2 -2
- package/dist/modules/types/tokenlist.js +2 -2
- package/dist/modules/types/typeof.js +2 -2
- package/dist/modules/types/uniquequeue.js +2 -2
- package/dist/modules/types/validate.js +2 -2
- package/dist/modules/types/version.js +2 -2
- package/dist/modules/util/clone.js +2 -2
- package/dist/modules/util/comparator.js +2 -2
- package/dist/modules/util/freeze.js +2 -2
- package/dist/modules/util/namespace.js +1 -1
- package/dist/monster.dev.js +8263 -7501
- package/dist/monster.dev.js.map +1 -1
- package/dist/monster.js +2 -9
- package/package.json +1 -1
- package/source/constants.js +6 -5
- package/source/constraints/abstract.js +2 -2
- package/source/constraints/abstractoperator.js +4 -4
- package/source/constraints/andoperator.js +8 -8
- package/source/constraints/invalid.js +6 -6
- package/source/constraints/isarray.js +7 -7
- package/source/constraints/isobject.js +7 -7
- package/source/constraints/namespace.js +2 -2
- package/source/constraints/oroperator.js +8 -8
- package/source/constraints/valid.js +7 -7
- package/source/data/buildmap.js +15 -15
- package/source/data/diff.js +9 -9
- package/source/data/extend.js +55 -13
- package/source/data/namespace.js +2 -2
- package/source/data/pathfinder.js +13 -14
- package/source/data/pipe.js +8 -8
- package/source/data/transformer.js +10 -11
- package/source/dom/assembler.js +7 -7
- package/source/dom/attributes.js +27 -28
- package/source/dom/constants.js +1 -2
- package/source/dom/customcontrol.js +90 -128
- package/source/dom/customelement.js +166 -71
- package/source/dom/events.js +9 -9
- package/source/dom/locale.js +5 -5
- package/source/dom/namespace.js +2 -2
- package/source/dom/template.js +30 -19
- package/source/dom/theme.js +8 -9
- package/source/dom/updater.js +43 -26
- package/source/dom/util.js +11 -11
- package/source/i18n/locale.js +7 -7
- package/source/i18n/namespace.js +1 -1
- package/source/i18n/provider.js +6 -6
- package/source/i18n/providers/fetch.js +10 -10
- package/source/i18n/translations.js +5 -5
- package/source/logging/handler/console.js +5 -5
- package/source/logging/handler/namespace.js +1 -1
- package/source/logging/handler.js +8 -8
- package/source/logging/logentry.js +5 -5
- package/source/logging/logger.js +5 -5
- package/source/logging/namespace.js +2 -2
- package/source/math/namespace.js +2 -2
- package/source/math/random.js +5 -5
- package/source/monster.js +48 -44
- package/source/namespace.js +2 -2
- package/source/text/formatter.js +6 -7
- package/source/text/namespace.js +1 -1
- package/source/types/base.js +4 -5
- package/source/types/basewithoptions.js +10 -9
- package/source/types/global.js +7 -7
- package/source/types/id.js +7 -7
- package/source/types/is.js +22 -22
- package/source/types/namespace.js +2 -2
- package/source/types/observer.js +7 -7
- package/source/types/observerlist.js +4 -4
- package/source/types/proxyobserver.js +32 -26
- package/source/types/queue.js +13 -7
- package/source/types/randomid.js +6 -6
- package/source/types/stack.js +11 -4
- package/source/types/tokenlist.js +9 -9
- package/source/types/typeof.js +5 -5
- package/source/types/uniquequeue.js +14 -7
- package/source/types/validate.js +27 -27
- package/source/types/version.js +9 -9
- package/source/util/clone.js +6 -6
- package/source/util/comparator.js +7 -7
- package/source/util/freeze.js +7 -7
- package/source/util/namespace.js +2 -2
- package/test/cases/data/extend.js +66 -13
- package/test/cases/dom/customcontrol.js +17 -3
- package/test/cases/dom/customelement.js +65 -7
- package/test/cases/dom/template.js +40 -1
- package/test/cases/monster.js +1 -1
- package/test/cases/types/proxyobserver.js +9 -0
- package/test/web/monster-dev.html +3 -3
- package/test/web/monster.html +2 -2
- package/test/web/test.html +3 -3
- package/test/web/tests.js +3 -3
@@ -7,6 +7,23 @@ describe('extend', function () {
|
|
7
7
|
|
8
8
|
[
|
9
9
|
[
|
10
|
+
'{"a":{"b":["1","2","3"]}}',
|
11
|
+
{
|
12
|
+
a: {
|
13
|
+
b: [
|
14
|
+
"1",
|
15
|
+
"2",
|
16
|
+
"3"
|
17
|
+
]
|
18
|
+
}
|
19
|
+
},
|
20
|
+
{
|
21
|
+
a: {
|
22
|
+
b: []
|
23
|
+
}
|
24
|
+
},
|
25
|
+
], [
|
26
|
+
'{"a":{"b":1,"d":1}}',
|
10
27
|
{
|
11
28
|
a: {
|
12
29
|
b: 1
|
@@ -17,43 +34,79 @@ describe('extend', function () {
|
|
17
34
|
d: 1
|
18
35
|
}
|
19
36
|
},
|
20
|
-
undefined,
|
21
|
-
'{"a":{"b":1,"d":1}}'
|
22
37
|
],
|
23
38
|
|
24
39
|
[
|
40
|
+
'{"a":{"b":1,"d":{"x":["car"],"f":true,"g":[]}}}',
|
41
|
+
{},
|
25
42
|
{
|
26
43
|
a: {
|
27
44
|
b: 1,
|
28
|
-
d:["car"]
|
45
|
+
d: {x: ["car"]}
|
29
46
|
}
|
30
47
|
},
|
31
48
|
{
|
32
49
|
a: {
|
33
50
|
d: {
|
34
|
-
f:true,
|
51
|
+
f: true,
|
35
52
|
g: []
|
36
53
|
}
|
37
54
|
}
|
38
55
|
},
|
39
|
-
undefined,
|
40
|
-
'{"a":{"b":1,"d":{"0":"car","f":true,"g":[]}}}'
|
41
56
|
]
|
42
|
-
|
57
|
+
|
43
58
|
].forEach(function (data) {
|
44
59
|
|
45
|
-
let a = data.shift()
|
46
|
-
let b = data.shift()
|
47
|
-
let c = data.shift()
|
48
60
|
let d = data.shift()
|
61
|
+
let a = data
|
49
62
|
|
50
|
-
|
51
|
-
|
52
|
-
let x = extend(a, b, c);
|
63
|
+
it('.extend(' + JSON.stringify(a) + ') should result in ' + d, function () {
|
64
|
+
let x = extend.apply(this, a);
|
53
65
|
expect(JSON.stringify(x)).is.equal(d);
|
54
66
|
});
|
55
67
|
|
56
68
|
|
57
69
|
});
|
58
70
|
|
71
|
+
|
72
|
+
[
|
73
|
+
|
74
|
+
|
75
|
+
[
|
76
|
+
{},
|
77
|
+
{
|
78
|
+
a: {
|
79
|
+
b: 1,
|
80
|
+
d: ["car"]
|
81
|
+
}
|
82
|
+
},
|
83
|
+
{
|
84
|
+
a: {
|
85
|
+
d: {
|
86
|
+
f: true,
|
87
|
+
g: []
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
],
|
92
|
+
[
|
93
|
+
{
|
94
|
+
a: {}
|
95
|
+
},
|
96
|
+
{
|
97
|
+
a: []
|
98
|
+
}
|
99
|
+
]
|
100
|
+
|
101
|
+
].forEach(function (data) {
|
102
|
+
|
103
|
+
let a = data
|
104
|
+
|
105
|
+
it('.extend(' + JSON.stringify(a) + ') should throw Error ', function () {
|
106
|
+
expect(() => extend.apply(this, a)).to.throw(Error);
|
107
|
+
});
|
108
|
+
|
109
|
+
|
110
|
+
});
|
111
|
+
|
59
112
|
})
|
@@ -1,5 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
import {ATTRIBUTE_OPTIONS} from "../../../source/dom/constants.js";
|
3
4
|
import {getDocument} from "../../../source/dom/util.js";
|
4
5
|
import {ID} from "../../../source/types/id.js";
|
5
6
|
import {initJSDOM} from "../../util/jsdom.js";
|
@@ -79,11 +80,24 @@ describe('DOM', function () {
|
|
79
80
|
let d = document.createElement('monster-customcontrol');
|
80
81
|
document.getElementById('test1').appendChild(d);
|
81
82
|
expect(document.getElementsByTagName('monster-customcontrol').length).is.equal(1);
|
82
|
-
expect(document.getElementById('test1')).contain.html('<monster-customcontrol></monster-customcontrol>');
|
83
|
+
expect(document.getElementById('test1')).contain.html('<monster-customcontrol data-monster-objectlink="Symbol(monsterUpdater)"></monster-customcontrol>');
|
83
84
|
});
|
84
85
|
});
|
85
86
|
|
87
|
+
describe('Options change', function () {
|
86
88
|
|
89
|
+
it('delegatesFocus should change from true to false', function () {
|
90
|
+
let element = document.createElement('monster-customcontrol')
|
91
|
+
|
92
|
+
expect(element.getOption('delegatesFocus')).to.be.true;
|
93
|
+
element.setAttribute(ATTRIBUTE_OPTIONS, JSON.stringify({delegatesFocus: false}));
|
94
|
+
expect(element.getOption('delegatesFocus')).to.be.false;
|
95
|
+
|
96
|
+
})
|
97
|
+
|
98
|
+
|
99
|
+
})
|
100
|
+
|
87
101
|
describe('Test ElementInternals', function () {
|
88
102
|
|
89
103
|
let form;
|
@@ -198,7 +212,7 @@ describe('DOM', function () {
|
|
198
212
|
if (jsdomFlag) {
|
199
213
|
expect(() => d.willValidate).to.throw(Error);
|
200
214
|
} else {
|
201
|
-
|
215
|
+
|
202
216
|
}
|
203
217
|
|
204
218
|
});
|
@@ -236,7 +250,7 @@ describe('DOM', function () {
|
|
236
250
|
if (jsdomFlag) {
|
237
251
|
expect(() => d.setValidity()).to.throw(Error);
|
238
252
|
} else {
|
239
|
-
expect(d.setValidity({'valueMissing':true},"my message")).to.be.undefined;
|
253
|
+
expect(d.setValidity({'valueMissing': true}, "my message")).to.be.undefined;
|
240
254
|
}
|
241
255
|
|
242
256
|
});
|
@@ -1,5 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
import {PROPERTY_KEY_INTERNALDATA} from "../../../source/constants.js";
|
4
|
+
import {ATTRIBUTE_OPTIONS} from "../../../source/dom/constants.js";
|
3
5
|
import {getDocument} from "../../../source/dom/util.js";
|
4
6
|
import {initJSDOM} from "../../util/jsdom.js";
|
5
7
|
import chai from "chai"
|
@@ -14,6 +16,8 @@ let html1 = `
|
|
14
16
|
</div>
|
15
17
|
`;
|
16
18
|
|
19
|
+
const internalDataSymbol = Symbol.for(PROPERTY_KEY_INTERNALDATA);
|
20
|
+
|
17
21
|
describe('DOM', function () {
|
18
22
|
|
19
23
|
let CustomElement, registerCustomElement, TestComponent, document, TestComponent2;
|
@@ -80,7 +84,7 @@ describe('DOM', function () {
|
|
80
84
|
afterEach(() => {
|
81
85
|
let mocks = document.getElementById('mocks');
|
82
86
|
mocks.innerHTML = "";
|
83
|
-
})
|
87
|
+
})
|
84
88
|
|
85
89
|
describe('create', function () {
|
86
90
|
it('should return custom-element object', function () {
|
@@ -94,7 +98,7 @@ describe('DOM', function () {
|
|
94
98
|
let d = document.createElement('monster-testclass');
|
95
99
|
document.getElementById('test1').appendChild(d);
|
96
100
|
expect(document.getElementsByTagName('monster-testclass').length).is.equal(1);
|
97
|
-
expect(document.getElementById('test1')).contain.html('<monster-testclass></monster-testclass>');
|
101
|
+
expect(document.getElementById('test1')).contain.html('<monster-testclass data-monster-objectlink="Symbol(monsterUpdater)"></monster-testclass>');
|
98
102
|
});
|
99
103
|
});
|
100
104
|
|
@@ -102,22 +106,76 @@ describe('DOM', function () {
|
|
102
106
|
it('document should contain monster-testclass2', function (done) {
|
103
107
|
let d = document.createElement('monster-testclass2');
|
104
108
|
document.getElementById('test1').appendChild(d);
|
105
|
-
|
109
|
+
|
106
110
|
// insert DOM run in extra process via setTimeout!
|
107
|
-
setTimeout(function(){
|
111
|
+
setTimeout(function () {
|
108
112
|
try {
|
109
113
|
expect(document.getElementsByTagName('monster-testclass2').length).is.equal(1);
|
110
114
|
expect(document.getElementsByTagName('monster-testclass2').item(0).shadowRoot.innerHTML).is.equal('<h1></h1><article><p>test</p></article>');
|
111
115
|
expect(document.getElementById('test1')).contain.html('<monster-testclass2 data-monster-objectlink="Symbol(monsterUpdater)"></monster-testclass2>');
|
112
|
-
} catch(e) {
|
116
|
+
} catch (e) {
|
113
117
|
done(e);
|
114
118
|
}
|
115
119
|
done();
|
116
|
-
},100);
|
117
|
-
|
120
|
+
}, 100);
|
121
|
+
|
118
122
|
});
|
119
123
|
});
|
120
124
|
|
125
|
+
describe('Options change', function () {
|
126
|
+
|
127
|
+
it('delegatesFocus should change from true to false', function () {
|
128
|
+
let element = document.createElement('monster-testclass')
|
129
|
+
|
130
|
+
const o = element[internalDataSymbol].realSubject;
|
131
|
+
expect(Object.is(element[internalDataSymbol].realSubject, o)).to.be.true;
|
132
|
+
|
133
|
+
expect(element[internalDataSymbol].realSubject.options.delegatesFocus).to.be.true;
|
134
|
+
expect(element[internalDataSymbol].subject.options.delegatesFocus).to.be.true;
|
135
|
+
expect(element.getOption('delegatesFocus')).to.be.true;
|
136
|
+
expect(Object.is(element[internalDataSymbol].realSubject, o)).to.be.true;
|
137
|
+
|
138
|
+
element.setAttribute(ATTRIBUTE_OPTIONS, JSON.stringify({delegatesFocus: false}));
|
139
|
+
expect(Object.is(element[internalDataSymbol].realSubject, o)).to.be.true;
|
140
|
+
|
141
|
+
expect(element.getOption('delegatesFocus')).to.be.false;
|
142
|
+
expect(element[internalDataSymbol].realSubject.options.delegatesFocus).to.be.false;
|
143
|
+
expect(Object.is(element[internalDataSymbol].realSubject, o)).to.be.true;
|
144
|
+
|
145
|
+
})
|
146
|
+
|
147
|
+
|
148
|
+
})
|
149
|
+
|
150
|
+
describe('setOptions()', function () {
|
151
|
+
[
|
152
|
+
['shadowMode', 'x1'],
|
153
|
+
['templates.main', 'x2'], // is explicitly set to undefined
|
154
|
+
['delegatesFocus', 'x4'],
|
155
|
+
].forEach(function (data) {
|
156
|
+
|
157
|
+
|
158
|
+
let key = data.shift()
|
159
|
+
let newValue = data.shift()
|
160
|
+
|
161
|
+
let text = key + ' should return ' + newValue;
|
162
|
+
if (newValue !== undefined) {
|
163
|
+
text = key + ' was not set, therefore default ' + newValue;
|
164
|
+
}
|
165
|
+
|
166
|
+
|
167
|
+
it(text, function () {
|
168
|
+
|
169
|
+
let d = document.createElement('monster-testclass');
|
170
|
+
expect(d.getOption(key)).to.be.not.equal(newValue);
|
171
|
+
let x = d.setOption(key, newValue);
|
172
|
+
expect(d.getOption(key)).to.be.equal(newValue);
|
173
|
+
})
|
174
|
+
|
175
|
+
|
176
|
+
})
|
177
|
+
});
|
178
|
+
|
121
179
|
describe('getOptions()', function () {
|
122
180
|
|
123
181
|
[
|
@@ -2,13 +2,32 @@
|
|
2
2
|
|
3
3
|
import {expect} from "chai"
|
4
4
|
|
5
|
-
import {Template} from "../../../source/dom/template.js";
|
5
|
+
import {findDocumentTemplate, Template} from "../../../source/dom/template.js";
|
6
6
|
import {initJSDOM} from "../../util/jsdom.js";
|
7
7
|
|
8
|
+
const html1 = `
|
9
|
+
|
10
|
+
<template id="mytemplate"></template>
|
11
|
+
|
12
|
+
`;
|
13
|
+
|
14
|
+
|
8
15
|
describe('Template', function () {
|
16
|
+
|
9
17
|
before(async function () {
|
10
18
|
initJSDOM();
|
11
19
|
})
|
20
|
+
|
21
|
+
beforeEach(() => {
|
22
|
+
let mocks = document.getElementById('mocks');
|
23
|
+
mocks.innerHTML = html1;
|
24
|
+
})
|
25
|
+
|
26
|
+
afterEach(() => {
|
27
|
+
let mocks = document.getElementById('mocks');
|
28
|
+
mocks.innerHTML = "";
|
29
|
+
})
|
30
|
+
|
12
31
|
describe('create HTMLFragment', function () {
|
13
32
|
[
|
14
33
|
["<div>first</div><div>second</div>"],
|
@@ -46,4 +65,24 @@ describe('Template', function () {
|
|
46
65
|
});
|
47
66
|
});
|
48
67
|
|
68
|
+
describe('.findDocumentTemplate()', function () {
|
69
|
+
it('should throw Template not found', function () {
|
70
|
+
const div = document.createElement('div');
|
71
|
+
expect(() => {
|
72
|
+
findDocumentTemplate("noway", div)
|
73
|
+
}).to.throws(Error);
|
74
|
+
})
|
75
|
+
});
|
76
|
+
|
77
|
+
describe('.findDocumentTemplate()', function () {
|
78
|
+
it('should throw Template not found', function () {
|
79
|
+
const div = document.createElement('div');
|
80
|
+
div.remove();
|
81
|
+
let t = findDocumentTemplate("mytemplate", div);
|
82
|
+
expect(t).is.instanceof(Template);
|
83
|
+
|
84
|
+
})
|
85
|
+
});
|
86
|
+
|
87
|
+
|
49
88
|
});
|
package/test/cases/monster.js
CHANGED
@@ -12,6 +12,15 @@ describe('ProxyObserver', function () {
|
|
12
12
|
expect(o).is.instanceOf(ProxyObserver);
|
13
13
|
});
|
14
14
|
});
|
15
|
+
|
16
|
+
describe('proxy objects', function () {
|
17
|
+
it('Proxy objects should not be recommitted', function () {
|
18
|
+
let o = new ProxyObserver({a:{b:true}});
|
19
|
+
o.getSubject().a.b=o.getSubject();
|
20
|
+
o.getSubject().a.b.a.b=false;
|
21
|
+
//expect(o.getSubject()===p.getSubject()).to.be.true;
|
22
|
+
});
|
23
|
+
});
|
15
24
|
|
16
25
|
describe('notify observer', function () {
|
17
26
|
it('should inform observer', function (done) {
|
@@ -10,13 +10,13 @@
|
|
10
10
|
crossorigin="anonymous"
|
11
11
|
referrerpolicy="no-referrer"></script>
|
12
12
|
|
13
|
-
<script src="https://monsterjs.org/dist/1.
|
13
|
+
<script src="https://monsterjs.org/dist/1.15.3/dist/monster.dev.js"></script>
|
14
14
|
|
15
15
|
</head>
|
16
16
|
<body>
|
17
17
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
18
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 1.
|
19
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
18
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 1.15.3</h1>
|
19
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Mo 20. Sep 17:06:29 CEST 2021</div>
|
20
20
|
</div>
|
21
21
|
</body>
|
22
22
|
</html>
|
package/test/web/monster.html
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
</head>
|
15
15
|
<body>
|
16
16
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
17
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 1.
|
18
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
17
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 1.15.3</h1>
|
18
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Mo 20. Sep 17:06:29 CEST 2021</div>
|
19
19
|
</div>
|
20
20
|
</body>
|
21
21
|
</html>
|
package/test/web/test.html
CHANGED
@@ -5,15 +5,15 @@
|
|
5
5
|
<title>Mocha Monster</title>
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
7
7
|
<link rel="stylesheet" href="mocha.css"/>
|
8
|
-
<script id="polyfill" src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.map,Array.prototype.reduce,ArrayBuffer,
|
8
|
+
<script id="polyfill" src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.map,Array.prototype.reduce,ArrayBuffer,DataView,document,Document,DocumentFragment,Element,Event,globalThis,HTMLDocument,HTMLTemplateElement,Intl,JSON,Map,Math.log2,Number.isInteger,Object.assign,Object.defineProperty,Object.entries,Object.freeze,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.keys,Promise,Reflect,Reflect.defineProperty,Reflect.get,Reflect.getOwnPropertyDescriptor,Reflect.setPrototypeOf,Set,String.prototype.trim,Symbol,Symbol.for,Symbol.iterator,Uint8Array,URL,WeakMap,WeakSet"
|
9
9
|
crossorigin="anonymous"
|
10
10
|
referrerpolicy="no-referrer"></script>
|
11
11
|
|
12
12
|
</head>
|
13
13
|
<body>
|
14
14
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
15
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 1.
|
16
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
15
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 1.15.3</h1>
|
16
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Mo 20. Sep 17:06:29 CEST 2021</div>
|
17
17
|
</div>
|
18
18
|
<div id="mocks"></div>
|
19
19
|
<div id="mocha"></div>
|