Commit Graph

559 Commits

Author SHA1 Message Date
David Greenspan
332e1417f3 spacebars runs 2013-07-16 17:49:57 -07:00
David Greenspan
a116be3f83 spacebars WIP 2013-07-16 10:22:36 -07:00
David Greenspan
b94b3f7bd4 better example code 2013-07-11 17:32:09 -07:00
David Greenspan
be78be3a8b Each works on arrays and objects (no matching) 2013-07-11 15:56:45 -07:00
David Greenspan
3e9ae4573e Each/List refactoring in prep for reactive arrays 2013-07-11 13:56:30 -07:00
David Greenspan
d293760c40 clean up comp.insertBefore, support null in each 2013-07-11 11:00:39 -07:00
David Greenspan
70c2de783c optimize component.remove() 2013-07-10 06:57:58 -07:00
David Greenspan
4572631e7c minor optimizations 2013-07-10 06:47:48 -07:00
David Greenspan
fa4e20a935 reactive observing #each 2013-07-10 06:21:33 -07:00
David Greenspan
6a1dfd0e27 else case goes in UI.List
I figure it's central enough, might be animated.
Switching between items and else shouldn't be
a rebuild, and it definitely shouldn't affect the
cursor observer.
2013-07-10 06:06:56 -07:00
David Greenspan
344f878cb8 switch to new firstNode/lastNode hint system
concept of "heavyweight" components didn't work.
appended components and DOM would just go outside
the comments.  can't change the meaning of firstNode/
lastNode that way.
2013-07-10 05:44:58 -07:00
David Greenspan
d3eb97ccc8 list of components component 2013-07-10 05:29:55 -07:00
David Greenspan
02fd3646bc initial Each render 2013-07-10 04:31:46 -07:00
David Greenspan
a669b6f0ce distinguish "heavyweight" components for efficiency 2013-07-10 03:35:25 -07:00
David Greenspan
16624569ec start of real (cursor-based) Each 2013-07-09 19:07:17 -07:00
David Greenspan
e48f4684cb poor version of Each content-calling 2013-07-09 17:38:43 -07:00
David Greenspan
7230c2f543 render content() by default 2013-07-09 17:11:57 -07:00
David Greenspan
3b4cfd9482 "If" support, fixes and improvements 2013-07-09 17:10:47 -07:00
David Greenspan
7bc15f2030 awesome attribute handling 2013-07-09 15:47:39 -07:00
David Greenspan
934e4378d8 detach, don't destroy, certain children in rebuild 2013-07-08 21:03:18 -07:00
David Greenspan
f0a662f7a4 reactive attributes 2013-07-08 20:13:57 -07:00
David Greenspan
18cd889c54 reactively determined Component class 2013-07-08 11:21:06 -07:00
David Greenspan
26ef5c06cc more design (DOM building) 2013-07-05 15:43:24 -07:00
David Greenspan
55e9e7e441 @emit element annotations cause event dispatch 2013-07-01 17:53:24 -07:00
David Greenspan
0263ca7299 empty string still counts as arg being present 2013-07-01 15:37:41 -07:00
David Greenspan
317fc8abee example stuff from demo 2013-07-01 15:31:44 -07:00
David Greenspan
53affec869 generic Components respect "content arg"; bugfix 2013-06-25 16:00:13 -07:00
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
06fad56c5a expand comp.lookup behavior
also bodyClass,elseClass become body,else
2013-06-18 09:40:22 -07:00
David Greenspan
de5b3b7b1f clean up old app code 2013-06-17 17:13:27 -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
cbfd6e5f61 define EmptyComponent 2013-06-17 14:01:53 -07:00
David Greenspan
3df9d66bb5 Annotations for linker and proper dependencies 2013-06-17 14:01:52 -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
762841cf0e reactive attributes in renderbuffer 2013-06-17 14:01:51 -07:00
David Greenspan
4c1c9979c1 more Meteor UI 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 Glasser
3fa0b533cc wordplay: make dictionary check O(1) and take punctuation out of word list
apologies to deberg for stealing all of his git blame credit.
2013-06-14 11:09:57 -07:00
Emily Stark
1f3a69d7eb Update wordplay example to use Assets API 2013-06-14 08:40:26 -07:00
Nick Martin
299543da78 bump release number in docs and examples. 2013-06-10 11:48:00 -07:00