RubyGems
npm
Organizations
Log in
Sign up
npm
marko
Versions diffs
5.31.10 → 5.31.11
marko 5.31.10 → 5.31.11
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
package/dist/runtime/components/legacy/defineRenderer-legacy.js
+4
-0
package/package.json
+1
-1
package/src/runtime/components/legacy/defineRenderer-legacy.js
+4
-0
package/dist/runtime/components/legacy/defineRenderer-legacy.js
CHANGED
Viewed
@@ -20,6 +20,10 @@ module.exports = function defineRenderer(renderingLogic) {
20
20
template = req(template);
21
21
}
22
22
23
+
if (template && template.default) {
24
+
template = template.default;
25
+
}
26
+
23
27
if (!renderer) {
24
28
var getInitialProps;
25
29
var getTemplateData;
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "marko",
3
-
"version": "5.31.
10
",
3
+
"version": "5.31.
11
",
4
4
"description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
"keywords": [
6
6
"front-end",
package/src/runtime/components/legacy/defineRenderer-legacy.js
CHANGED
Viewed
@@ -20,6 +20,10 @@ module.exports = function defineRenderer(renderingLogic) {
20
20
template = req(template);
21
21
}
22
22
23
+
if (template && template.default) {
24
+
template = template.default;
25
+
}
26
+
23
27
if (!renderer) {
24
28
var getInitialProps;
25
29
var getTemplateData;