Commit Graph

3936 Commits

Author SHA1 Message Date
David Greenspan
7eefb313ef more helper support 2013-06-17 14:01:52 -07:00
David Greenspan
cd8bf66822 dummy comp.lookup for testing 2013-06-17 14:01:52 -07:00
David Greenspan
eb040cdff5 implement Spacebars.{index,call} 2013-06-17 14:01:52 -07:00
David Greenspan
1a9a5df837 start of helper code gen 2013-06-17 14:01:52 -07:00
David Greenspan
8a31d50a28 comments about template init 2013-06-17 14:01:52 -07:00
David Greenspan
6ef51852c3 begin attempt at Component/template joint def 2013-06-17 14:01:52 -07:00
David Greenspan
3df9d66bb5 Annotations for linker and proper dependencies 2013-06-17 14:01:52 -07:00
David Greenspan
a6e1619f26 towards helpers 2013-06-17 14:01:52 -07:00
David Greenspan
1e102fdcbd compiler unit test harness 2013-06-17 14:01:52 -07:00
David Greenspan
febd758981 fix empty interpolation 2013-06-17 14:01:52 -07:00
David Greenspan
c21fffe72a spacebars compiler minus components and helpers 2013-06-17 14:01:52 -07:00
David Greenspan
5c975735db template parser tests 2013-06-17 14:01:52 -07:00
David Greenspan
25dafeb38f more spacebars WIP 2013-06-17 14:01:51 -07:00
David Greenspan
a23522b225 spacebars code gen wip 2013-06-17 14:01:51 -07:00
David Greenspan
e28f7f1646 functional Each component 2013-06-17 14:01:51 -07:00
David Greenspan
c27ecae3aa WIP XXX 2013-06-17 14:01:51 -07:00
David Greenspan
9494860d82 fix so it runs 2013-06-17 14:01:51 -07:00
David Greenspan
e873e636fe "Each" wip 2013-06-17 14:01:51 -07:00
David Greenspan
31bc8c55a4 uncomment "Each" component (needs rewrite) 2013-06-17 14:01:51 -07:00
David Greenspan
19568674bd fix empty Component using Component.create() 2013-06-17 14:01:51 -07:00
David Greenspan
762841cf0e reactive attributes in renderbuffer 2013-06-17 14:01:51 -07:00
David Greenspan
d370dbaf76 registerElement 2013-06-17 14:01:51 -07:00
David Greenspan
a0468350ee remove old comments 2013-06-17 14:01:51 -07:00
David Greenspan
497ce9f71f fixes 2013-06-17 14:01:51 -07:00
David Greenspan
e35df7d2a9 reactive child components (untested) 2013-06-17 14:01:51 -07:00
David Greenspan
35e75f38f4 nail down add/remove/attach/detach logic 2013-06-17 14:01:50 -07:00
David Greenspan
4c1c9979c1 more Meteor UI 2013-06-17 14:01:50 -07:00
David Greenspan
e05ae7b7f8 component model next rev WIP
next step: component.addChild([key], comp,
[parentNode], [beforeNode]).  Builds on the
client but not on the server.

HtmlBuilder -> RenderBuffer

{buffer.text,buffer.rawHtml} create Components
2013-06-17 14:01:50 -07:00
David Greenspan
e4c6eb7e79 wip 2013-06-17 14:01:50 -07:00
David Greenspan
d58e70610e work on ui API 2013-06-17 14:01:50 -07:00
David Greenspan
dde555a7b8 component names are paths 2013-06-17 14:01:50 -07:00
David Greenspan
cc3e06292e notes 2013-06-17 14:01:50 -07:00
David Greenspan
949e277d8f comments 2013-06-17 14:01:50 -07:00
David Greenspan
9eced0a950 work on HtmlBuilder 2013-06-17 14:01:50 -07:00
David Greenspan
f1a0fcd12c component.getArg 2013-06-17 14:01:50 -07:00
David Greenspan
350d0f5cfe import of shark work (UI Components) 2013-06-17 14:01:50 -07:00
David Greenspan
dca027c7fa no stache tags in HTML tag names 2013-06-17 14:01:50 -07:00
David Greenspan
3a504091d5 fix package dependencies 2013-06-17 14:01:49 -07:00
David Greenspan
a7878a9ba6 complete compiler 2013-06-17 14:01:49 -07:00
David Greenspan
40ede2204e parser and most of a compiler 2013-06-17 14:01:49 -07:00
David Greenspan
2894a30eda new stache-tag parser 2013-06-17 14:01:49 -07:00
David Greenspan
f32e3cd87d tests covering token types 2013-06-17 14:01:49 -07:00
David Greenspan
52fda49602 guess at a fix for tokenizer bug
opened https://github.com/aredridel/html5/issues/75
2013-06-17 14:01:49 -07:00
David Greenspan
25bddd9a23 minor, rename file 2013-06-17 14:01:49 -07:00
David Greenspan
8698ea5d36 comment out incremental tokenizing 2013-06-17 14:01:49 -07:00
David Greenspan
f345e2da92 tokenizer runs 2013-06-17 14:01:49 -07:00
David Greenspan
27a76d66b2 remove last() prototype pollution; don't require DOM tree 2013-06-17 14:01:49 -07:00
David Greenspan
bff87544d9 toy EventEmitter 2013-06-17 14:01:49 -07:00
David Greenspan
a1b25894b8 add buffer.js 2013-06-17 14:01:49 -07:00
David Greenspan
325a3ac24a fix-ups 2013-06-17 14:01:49 -07:00