Commit Graph

3922 Commits

Author SHA1 Message Date
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
David Greenspan
05cab0d662 re-indent to two-space style 2013-06-17 14:01:48 -07:00
David Greenspan
3c3461b75a tokenizer pulled out of npm html5, initial commit 2013-06-17 14:01:48 -07:00
Emily Stark
790deed8b4 Clean up mongo command 2013-06-14 17:01:47 -07:00
Slava Kim
160a9a2b06 Add regexp to throwing objects test. 2013-06-14 16:39:42 -07:00
Slava Kim
ce813b496a Restructure tests a bit. 2013-06-14 16:39:42 -07:00
Slava Kim
f550264054 Clarify and check that incorrect logging doesn't print anything. 2013-06-14 16:39:42 -07:00
Emily Stark
df9ceed07e Change temp to temporary in meteor mongo 2013-06-14 16:30:47 -07:00
Emily Stark
ea48bf81bf Merge branch 'meteor-mongo' into linker 2013-06-14 15:32:21 -07:00
Emily Stark
985cea3277 Clean up (Avi's comments) 2013-06-14 15:30:25 -07:00
Emily Stark
c444451279 Galaxy version of meteor mongo 2013-06-14 15:30:25 -07:00
David Glasser
9bafe2f881 builder: create ".build" slightly more atomically.
Now there never is a moment where ".build" contains a fraction of a unipackage.
2013-06-14 14:04:55 -07:00
David Glasser
8f193b2cc0 In unipackages, move node_modules into npm/node_modules.
This makes them invisible from plugins.
2013-06-14 13:29:55 -07:00
David Glasser
6108cc298c Fix infinite loop caused by watcher fix. 2013-06-14 12:25:45 -07:00
David Glasser
ea82e7c4b4 Move PACKAGE/.npm/ to PACKAGE/.npm/package/
This is to isolate the NPM dependencies of the package at runtime from the NPM
dependencies of any build-time plugins in the package, which live in
PACKAGE/.npm/plugin/foo.

Before, plugins could see the node modules at PACKAGE/.npm/node_modules, which
was not isolated enough.

(One issue would be that if you happened to switch a package from having runtime
dependencies to having buildtime dependencies, the buildtime dependencies would
not get installed. This is partially an issue because we don't know to uninstall
all dependencies if they are all removed, but even if that is fixed it would
enforce an unnecessary ordering semantics on NPM updates.)
2013-06-14 11:12:31 -07:00