marko 5.31.16 → 5.31.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  var createTemplate = runtime.t;
3
3
  var registered = {};
4
4
 
5
- runtime.t = function (typeName) {
5
+ exports.t = runtime.t = function (typeName) {
6
6
  if (registered[typeName]) {
7
7
  return registered[typeName];
8
8
  }
@@ -23,6 +23,4 @@ runtime.t = function (typeName) {
23
23
  function proxyRenderFn() {
24
24
  return renderFn.apply(this, arguments);
25
25
  }
26
- };
27
-
28
- module.exports = runtime;
26
+ };
@@ -9,7 +9,7 @@ var registered = {};
9
9
  var instancesByType = {};
10
10
  var queue;
11
11
 
12
- runtime.t = function (typeName) {
12
+ exports.t = runtime.t = function (typeName) {
13
13
  if (registered[typeName]) {
14
14
  return registered[typeName];
15
15
  }
@@ -112,6 +112,4 @@ function batchUpdate() {
112
112
  pending[i]();
113
113
  }
114
114
  });
115
- }
116
-
117
- module.exports = runtime;
115
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.31.16",
3
+ "version": "5.31.17",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -64,8 +64,8 @@
64
64
  "build": "babel ./src --out-dir ./dist --delete-dir-on-start --copy-files --config-file ../../babel.config.js --env-name=production"
65
65
  },
66
66
  "dependencies": {
67
- "@marko/compiler": "^5.33.6",
68
- "@marko/translator-default": "^5.31.6",
67
+ "@marko/compiler": "^5.33.7",
68
+ "@marko/translator-default": "^5.31.7",
69
69
  "app-module-path": "^2.2.0",
70
70
  "argly": "^1.2.0",
71
71
  "browser-refresh-client": "1.1.4",
@@ -2,7 +2,7 @@ var runtime = require(".");
2
2
  var createTemplate = runtime.t;
3
3
  var registered = {};
4
4
 
5
- runtime.t = function (typeName) {
5
+ exports.t = runtime.t = function (typeName) {
6
6
  if (registered[typeName]) {
7
7
  return registered[typeName];
8
8
  }
@@ -24,5 +24,3 @@ runtime.t = function (typeName) {
24
24
  return renderFn.apply(this, arguments);
25
25
  }
26
26
  };
27
-
28
- module.exports = runtime;
@@ -9,7 +9,7 @@ var registered = {};
9
9
  var instancesByType = {};
10
10
  var queue;
11
11
 
12
- runtime.t = function (typeName) {
12
+ exports.t = runtime.t = function (typeName) {
13
13
  if (registered[typeName]) {
14
14
  return registered[typeName];
15
15
  }
@@ -113,5 +113,3 @@ function batchUpdate() {
113
113
  }
114
114
  });
115
115
  }
116
-
117
- module.exports = runtime;