marko 5.35.18 → 5.35.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,9 +9,9 @@ function VComment(value, ownerComponent) {
9
9
  VComment.prototype = {
10
10
  c__: 8,
11
11
 
12
- bo_: function (doc) {
12
+ bo_: function (host) {
13
13
  var nodeValue = this.bZ_;
14
- return doc.createComment(nodeValue);
14
+ return (host.ownerDocument || host).createComment(nodeValue);
15
15
  },
16
16
 
17
17
  bS_: function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.35.18",
3
+ "version": "5.35.20",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -65,8 +65,8 @@
65
65
  "build": "babel ./src --out-dir ./dist --extensions .js --copy-files --config-file ../../babel.config.js --env-name=production"
66
66
  },
67
67
  "dependencies": {
68
- "@marko/compiler": "^5.37.13",
69
- "@marko/translator-default": "^6.0.15",
68
+ "@marko/compiler": "^5.37.15",
69
+ "@marko/translator-default": "^6.0.16",
70
70
  "app-module-path": "^2.2.0",
71
71
  "argly": "^1.2.0",
72
72
  "browser-refresh-client": "1.1.4",
@@ -9,9 +9,9 @@ function VComment(value, ownerComponent) {
9
9
  VComment.prototype = {
10
10
  ___nodeType: 8,
11
11
 
12
- ___actualize: function (doc) {
12
+ ___actualize: function (host) {
13
13
  var nodeValue = this.___nodeValue;
14
- return doc.createComment(nodeValue);
14
+ return (host.ownerDocument || host).createComment(nodeValue);
15
15
  },
16
16
 
17
17
  ___cloneNode: function () {