@schukai/monster 2.1.1 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -24,7 +24,7 @@ export {Datasource}
|
|
24
24
|
* @license AGPLv3
|
25
25
|
* @since 1.24.0
|
26
26
|
*/
|
27
|
-
const internalDataSymbol = Symbol('
|
27
|
+
const internalDataSymbol = Symbol.for('@schukai/monster/data/datasource/@@data');
|
28
28
|
|
29
29
|
/**
|
30
30
|
* The datasource class is the basis for dealing with different data sources.
|
package/source/dom/ready.mjs
CHANGED
@@ -15,6 +15,11 @@ export {domReady, windowReady}
|
|
15
15
|
* The DOMContentLoaded event is fired when the original HTML document is fully loaded and parsed
|
16
16
|
* without waiting for stylesheets, images, and subframes to finish loading.
|
17
17
|
*
|
18
|
+
* document.readyState changes to interactive
|
19
|
+
* window's DOMContentLoaded event gets fired
|
20
|
+
* document.readyState changes to complete
|
21
|
+
* window's load event gets fired load
|
22
|
+
*
|
18
23
|
* @license AGPLv3
|
19
24
|
* @since 1.31.0
|
20
25
|
* @memberOf Monster.DOM
|
package/source/dom/updater.mjs
CHANGED
@@ -372,7 +372,7 @@ function retrieveFromBindings() {
|
|
372
372
|
const self = this;
|
373
373
|
|
374
374
|
if (self[internalSymbol].element.matches('[' + ATTRIBUTE_UPDATER_BIND + ']')) {
|
375
|
-
retrieveAndSetValue.call(self, element)
|
375
|
+
retrieveAndSetValue.call(self, self[internalSymbol].element)
|
376
376
|
}
|
377
377
|
|
378
378
|
for (const [, element] of self[internalSymbol].element.querySelectorAll('[' + ATTRIBUTE_UPDATER_BIND + ']').entries()) {
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED