17 lines
263 B
JavaScript
17 lines
263 B
JavaScript
|
import { mutate } from "shared-runtime";
|
||
|
function component(a) {
|
||
|
let x = {
|
||
|
a
|
||
|
};
|
||
|
let y = {};
|
||
|
(function () {
|
||
|
let a = y;
|
||
|
a["x"] = x;
|
||
|
})();
|
||
|
y |> mutate(%);
|
||
|
return y;
|
||
|
}
|
||
|
export const FIXTURE_ENTRYPOINT = {
|
||
|
fn: component,
|
||
|
params: ["foo"]
|
||
|
};
|