5476 Commits

Author SHA1 Message Date
Michael Rawlings
f0930bc6e7 fix: queue priority for closure values 2022-03-02 12:52:17 -05:00
Michael Rawlings
6e7ddd3274 feat: basic component working 2022-03-01 15:04:00 -05:00
Michael Rawlings
eabaae702d refactor: rename localIndex/sortValue to priority in queue 2022-02-28 15:11:40 -05:00
Michael Rawlings
03932e044b fix: unused references compile 2022-02-24 11:57:56 -05:00
Michael Rawlings
2c816642f8 fix: reads in nested blocks 2022-02-24 11:47:41 -05:00
Seth Schoenfeld
beff00d581
Small syntax update (#1775)
Apologies for the two tiny updates. The docs look really good. It's just an incorrect apostrophe.
2022-02-18 16:19:24 -07:00
Seth Schoenfeld
8b0abcf0db
update to dynamic tag jump link (#1774)
For some reason, the dynamic tag jump-link was breaking and trying to load a different page. Propose making the relative link to the same page and adding the jump #.
2022-02-18 12:06:51 -07:00
Michael Rawlings
858bd3b27c
feat: add classAttr/styleAttr helpers to dom runtime 2022-02-18 08:39:57 -08:00
Michael Rawlings
6f2ba90a7c
fix: bind/hoisting of nested functions 2022-02-17 17:57:34 -08:00
Michael Rawlings
7d435af5f2
fix: bind handlers even if they don't read values 2022-02-17 14:54:09 -08:00
Michael Rawlings
a6647c73cb
feat: switch to using queuePriority based on referenceGroup order 2022-02-17 13:21:37 -08:00
Michael Rawlings
c5f3262fb1
feat: fast path for runWithScope with 3 or less args 2022-02-17 10:22:12 -08:00
Michael Rawlings
a7384371a3
fix: always walk over after walking out, we already visited the parentNode 2022-02-16 11:51:54 -08:00
Michael Rawlings
59821d22dd
fix: queueForEach should not run for empty scope 2022-02-16 11:49:56 -08:00
Manan Gupta
858564f107
Fix broken link on line 586 (#1771)
The location was wrapped in double quotes causing the link to not work.
2022-02-15 14:57:30 -07:00
Michael Rawlings
97bd5c8f95
chore: rename test 2022-02-09 14:07:59 -08:00
Michael Rawlings
13b6eac7a4
feat: cross-scope values with for tag, fix heap pop(), queueForEach/Branch queue before reading 2022-02-09 13:47:24 -08:00
Michael Rawlings
4aabd447bc
fix: correct sorting of references 2022-02-09 12:24:13 -08:00
Michael Rawlings
fad7fa54fc
fix: isNewGroup check was incorrect, caused duplicate writes 2022-02-08 06:53:21 -08:00
Michael Rawlings
d8eddfea0d
fix: adding an apply statement should not affect the hydrate loop 2022-02-08 06:47:16 -08:00
Michael Rawlings
c6a47ae08f chore: build types on pre-commit 2022-02-07 07:39:06 -08:00
Michael Rawlings
87259feef6 refactor: fix lint issues 2022-02-07 07:39:06 -08:00
Michael Rawlings
44aba7aa3f refactor: rename queueFactory => queueBuilder, exitCondition=>exitBranch 2022-02-07 07:39:06 -08:00
Michael Rawlings
b4b3330bfb refactor: remove writer start/end, call flushBefore/Into directly 2022-02-07 07:39:06 -08:00
Michael Rawlings
a54240f9cb refactor: defer writing apply/hydrate groups until program exit 2022-02-07 07:39:06 -08:00
Michael Rawlings
cbcc36f45f chore: add example size tracking 2022-02-07 07:39:06 -08:00
Michael Rawlings
e79c89320d refactor: remove path argument from writeApply/Hydrate 2022-02-07 07:39:06 -08:00
Michael Rawlings
f5629b4b38 refactor: pull apply/hydrate logic out of writer 2022-02-07 07:39:06 -08:00
Michael Rawlings
7bb729814c refactor: remove path.state.sectionId 2022-02-07 07:39:06 -08:00
Michael Rawlings
d912b2e1cc refactor: remove Section, we only work with sectionId now 2022-02-07 07:39:06 -08:00
Michael Rawlings
82c0995ee5 refactor: pull reserve logic out of sections.ts 2022-02-07 07:39:06 -08:00
Michael Rawlings
8c77bb4104 refactor: pull reservesByType off of Section object 2022-02-07 07:39:06 -08:00
Michael Rawlings
919fe69e23 refactor: remove SectionTranslate 2022-02-07 07:39:06 -08:00
Michael Rawlings
83aa4a5e33 refactor: remove passing path when we just needed the program, read the program from module context 2022-02-07 07:39:06 -08:00
Michael Rawlings
7acb5f3230 refactor: introduce queueFactory, pull queueInBranch logic into ifTag visitor 2022-02-07 07:39:06 -08:00
Michael Rawlings
5858ac02c0 refactor: use apply, hydrate, writes from section data lookup 2022-02-07 07:39:06 -08:00
Michael Rawlings
600a1e6f49 fix: don't run the default analyze hooks if there's a custom one 2022-02-07 07:39:06 -08:00
Michael Rawlings
7efe440f2e refactor: walks are stored using new section data storage 2022-02-07 07:39:06 -08:00
Michael Rawlings
cc49795d82 refactor: pull walks logic out of writer into separate util 2022-02-07 07:39:06 -08:00
Michael Rawlings
e60b06c3c7 refactor: combine translate & analyze visitors by node type 2022-02-07 07:39:06 -08:00
Michael Rawlings
10e3d73ee3 refactor: core tag translators now are the tag definition 2022-02-07 07:39:06 -08:00
root
b3c7e88944 feat: translator for cross scope values (if) 2022-02-07 07:39:06 -08:00
Kory Smith
7e3f7d66ef
fix grammar by adding a ", and" where necessary (#1770) 2022-02-01 10:23:38 -07:00
Dylan Piercey
e4a6788d8e
chore: publish v5.19.1 v5.19.1 2022-01-28 13:17:33 -07:00
Dylan Piercey
ff0e5c6b1f
fix(babel-utils): improve plugin types 2022-01-28 13:17:03 -07:00
Dylan Piercey
07f5e26b79
chore: publish v5.19.0 v5.19.0 2022-01-28 12:49:05 -07:00
Dylan Piercey
981f7f39f9
feat: support analyze field in marko.json (#1769) 2022-01-28 12:48:19 -07:00
Dylan Piercey
3d0a74ab1c
fix(translator-default): temporarily disable local variable tagname warning 2022-01-28 11:49:14 -07:00
Dylan Piercey
65999cf2ac
chore: publish v5.18.2 v5.18.2 2022-01-24 20:11:01 -07:00
Dylan Piercey
3e67bfe1e5
fix: update invalid docs link 2022-01-24 20:08:01 -07:00