Commit Graph

3959 Commits

Author SHA1 Message Date
David Greenspan
ae295659d0 lookup searches up for "data" arg
try `{{> content}}` instead of `body`
2013-06-25 12:13:42 -07:00
David Greenspan
62fb1f4bf2 example twiddling 2013-06-25 05:57:58 -07:00
David Greenspan
6551e3a366 search Template.foo namespace for components
fix inheritance superClass tracking
2013-06-25 05:08:14 -07:00
David Greenspan
fbfd3fb824 alias MyComp.augment to MyComp(…) 2013-06-24 14:51:17 -07:00
David Greenspan
e7451a406f Comp.augment (to be aliased to Comp(...)) 2013-06-24 14:45:25 -07:00
David Greenspan
a872fe9565 Templates in Template.foo (wip) 2013-06-20 16:25:21 -07:00
David Greenspan
f6b644cc0d Merge branch 'spacebars' into shark 2013-06-18 09:44:33 -07:00
David Greenspan
06fad56c5a expand comp.lookup behavior
also bodyClass,elseClass become body,else
2013-06-18 09:40:22 -07:00
David Greenspan
e5a7a583a6 Merge branch 'spacebars' into shark 2013-06-17 17:37:51 -07:00
David Greenspan
c41babfdd7 RootComponent calls init 2013-06-17 17:36:25 -07:00
David Greenspan
6c118d97f0 warn when Body not a RootComponent 2013-06-17 17:18:38 -07:00
David Greenspan
dc75e8877b use spacebars for templating in build 2013-06-17 17:18:38 -07:00
David Greenspan
49d5d8feab track attached RootComponents 2013-06-17 17:17:31 -07:00
David Greenspan
de5b3b7b1f clean up old app code 2013-06-17 17:13:27 -07:00
David Greenspan
3d8bcef5ac Components can gen "preview HTML" for ss rendering 2013-06-17 16:35:23 -07:00
David Greenspan
8ffffaaeae fix typo in replaceChild 2013-06-17 14:58:35 -07:00
David Greenspan
db36afc1a4 fix typos; If/Each; make shark example work 2013-06-17 14:49:51 -07:00
David Greenspan
e0816b5f34 handle falsy helper result 2013-06-17 14:01:53 -07:00
David Greenspan
8d92d53bf8 complete Spacebars code gen 2013-06-17 14:01:53 -07:00
David Greenspan
efa83a5167 component inclusion code gen 2013-06-17 14:01:53 -07:00
David Greenspan
cbfd6e5f61 define EmptyComponent 2013-06-17 14:01:53 -07:00
David Greenspan
630b3b8213 kill old code 2013-06-17 14:01:53 -07:00
David Greenspan
23ff6fbe06 reactive double/triple stache code gen 2013-06-17 14:01:53 -07:00
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