mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
[Optimizations] Simplified bookkeeping for component tree A component stack is no longer used Small API improvements Improved how component boundaries are managed Assign keys to all HTML elements and custom tags for better diffing Checking in progress Just build the src when calculating size
27 lines
686 B
JavaScript
27 lines
686 B
JavaScript
"use strict";
|
|
|
|
var marko_template = module.exports = require("marko/src/vdom").t(),
|
|
marko_helpers = require("marko/src/runtime/vdom/helpers"),
|
|
marko_createElement = marko_helpers.e,
|
|
marko_const = marko_helpers.const,
|
|
marko_const_nextId = marko_const("f72432"),
|
|
marko_node0 = marko_createElement("svg", {
|
|
viewBox: "0 0 200 200",
|
|
xmlns: "http://www.w3.org/2000/svg"
|
|
}, null, null, 1, 1, {
|
|
i: marko_const_nextId()
|
|
})
|
|
.e("circle", {
|
|
cx: "100",
|
|
cy: "100",
|
|
r: "100"
|
|
}, null, null, 0, 1);
|
|
|
|
function render(input, out) {
|
|
var data = input;
|
|
|
|
out.n(marko_node0);
|
|
}
|
|
|
|
marko_template._ = render;
|