mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-21 07:42:30 +01:00
13 lines
386 B
JavaScript
13 lines
386 B
JavaScript
import { createElement } from "../../lib/skeleton/index.js";
|
|
import rxjs, { effect, stateMutation } from "../../lib/rx.js";
|
|
|
|
import Log from "./model_log.js";
|
|
|
|
export default function(render) {
|
|
const $page = createElement(`<pre style="height:350px; max-height: 350px">…</pre>`);
|
|
render($page);
|
|
|
|
effect(Log.get().pipe(
|
|
stateMutation($page, "textContent")
|
|
));
|
|
}
|