Commit Graph

17 Commits

Author SHA1 Message Date
trans_soup 10a60114b1 Merge branch 'dev' 2023-07-16 16:43:48 +02:00
trans_soup 9e35a20a60 change import paths from absolute to relative.
because apparently absolute ones messes with submodules :/
2023-07-16 16:41:50 +02:00
trans_soup 002cfcba0b move exports file to top level. 2023-07-16 16:02:17 +02:00
trans_soup 690cd76d85 Merge branch 'dev' 2023-07-16 16:01:49 +02:00
trans_soup 6f33791a0b small refactor.
rename `/js/` to `/src/` and split things up into modules.
2023-07-16 15:57:37 +02:00
trans_soup ac75e69f53 Merge branch 'dev' 2023-07-16 15:42:13 +02:00
trans_soup a4191ed3df edit readme.
elaborate on how to use with different kinds of input. also mention that
the name isn't literal; this takes javascript data, not json, as input.
2023-07-16 15:40:57 +02:00
trans_soup 1da88ebae2 Merge branch 'dev' 2023-07-16 15:23:06 +02:00
trans_soup 1097974534 add readme. 2023-07-16 15:22:58 +02:00
trans_soup 58f2997449 Merge branch 'dev' 2023-07-16 15:16:13 +02:00
trans_soup 0ca932c700 clean up dev branch to make merging easier. 2023-07-16 15:15:17 +02:00
trans_soup 9f5473cea8 fix bug with attribute setting.
(with a hack solution made without understanding how setting different
kinds of element attributes work.)
2023-07-16 15:09:10 +02:00
trans_soup 53fd5eccca Merge branch 'main' into export 2023-07-16 15:02:37 +02:00
trans_soup 05cd4cb3c9 fix bug.
fix bug with attribute setting.

also assume no attributes & children if none are provided.
2023-07-16 15:01:34 +02:00
trans_soup 9eca9236ea remove everything except js code to be exported. 2023-07-15 22:10:36 +02:00
trans_soup 416d31b1ad add function elements and global state.
function elements as in, when `json_to_html` encounters a function,
it'll evaluate it and then use that value as input instead.

global state as in, a single state accessible by all nodes that are
created from a `json_to_html` call.
2023-07-15 04:36:23 +02:00
trans_soup 8f45f69d09 init. 2023-07-14 21:47:43 +02:00