@schukai/monster 2.1.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schukai/monster",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -24,7 +24,7 @@ export {Datasource}
24
24
  * @license AGPLv3
25
25
  * @since 1.24.0
26
26
  */
27
- const internalDataSymbol = Symbol('internalData');
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.
@@ -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
@@ -149,7 +149,7 @@ function getMonsterVersion() {
149
149
  }
150
150
 
151
151
  /** don't touch, replaced by make with package.json version */
152
- monsterVersion = new Version('2.1.1')
152
+ monsterVersion = new Version('2.2.0')
153
153
 
154
154
  return monsterVersion;
155
155
 
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version('2.1.1')
10
+ monsterVersion = new Version('2.2.0')
11
11
 
12
12
  let m = getMonsterVersion();
13
13