Commit Graph

30 Commits

Author SHA1 Message Date
David Greenspan
6970e75f19 remove old code 2013-11-04 10:37:28 -08:00
David Greenspan
e10145d14c comments 2013-10-10 16:04:17 -07:00
David Greenspan
11aa6c65e2 call template callbacks in Deps.nonreactive 2013-10-08 19:03:09 -07:00
David Greenspan
25764255ff fix component invocations, make dynamic (wip)
TODO next:
- fix keyword args when foo's a function
  - pass them to function not template
  - evaluate them
- back-compat block helper calling convention
2013-10-04 15:29:37 -07:00
David Greenspan
a6b612e33c don't choke on HTML comments 2013-09-18 20:01:51 -07:00
David Greenspan
b8159f852f make "rendered" wait to fire until parented
otherwise "findAll" won't work from "rendered"
2013-09-18 15:53:22 -07:00
David Greenspan
af0aad1d45 created/rendered/destroyed callbacks
preserve no-op
2013-09-17 15:52:39 -07:00
David Greenspan
4658b70d7e comments 2013-09-17 15:16:03 -07:00
David Greenspan
4add01f934 events seem to work 2013-09-17 14:25:01 -07:00
David Greenspan
6d09d6c026 wip
TODO:
- fix "DomRange host" problem
  - maybe no renderToRange, we just put a new
    range in the same spot?
  - what about "each" reactive "content"?
    - if "content" changes, invalidates whole render
- don't "renderTo" top-level sub-components
  in renderbuffer, just build them or something
2013-09-16 20:37:50 -07:00
David Greenspan
3f176e2604 test-in-browser works! (minus events) 2013-09-16 18:02:09 -07:00
David Greenspan
7d5e3821ef towards making test driver work in new world 2013-09-09 19:00:23 -07:00
David Greenspan
2ff37d14f3 shark example seems to work (with many XXX) 2013-08-26 13:59:00 -07:00
David Greenspan
08822cb2d6 towards working DomRange rendering
next stages:
- spacebars calls make something happen
- appropriate reactivity

then:
- can we get the test driver?
- DomRange improvements (tests?)
- proper lifecycle / stop autoruns
2013-08-25 20:26:31 -07:00
David Greenspan
0e9d11131a more wip 2013-08-25 19:10:33 -07:00
David Greenspan
28a3a536bf Revert "wip: start of empty textnode technique (BREAKS)"
This reverts commit a130725a55.
2013-07-30 20:04:02 -07:00
David Greenspan
a130725a55 wip: start of empty textnode technique (BREAKS) 2013-07-30 17:10:03 -07:00
David Greenspan
9bec3bfac9 checkbox component, touch-ups 2013-07-25 10:10:41 -07:00
David Greenspan
df3939bf2d mv ui2 ui; port spacebars (untested) 2013-07-25 01:32:18 -07:00
David Greenspan
1a70c41c3f make test-in-browser work 2013-07-23 16:17:27 -07:00
David Greenspan
ccde6a051f prepare to port Spacebars to new render API
- remove code for @annotations
- rewrite component.lookup
- take old API out of package.js, move to "old" dir

totally breaks everything including "shark" demo
2013-07-14 11:11:24 -07:00
David Greenspan
3e9ae4573e Each/List refactoring in prep for reactive arrays 2013-07-11 13:56:30 -07:00
David Greenspan
4572631e7c minor optimizations 2013-07-10 06:47:48 -07:00
David Greenspan
e48f4684cb poor version of Each content-calling 2013-07-09 17:38:43 -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
d00ca62a22 tag attrs obj only drops one marker attribute
needs another refactor to handle dynamic attr update
2013-07-09 11:04:25 -07:00
David Greenspan
f0a662f7a4 reactive attributes 2013-07-08 20:13:57 -07:00
David Greenspan
f894d15053 beginning of reactive attrs in new API 2013-07-08 12:04:00 -07:00
David Greenspan
18cd889c54 reactively determined Component class 2013-07-08 11:21:06 -07:00