Sashko Stubailo
82d1db5107
Rename Meteor.Collection to Mongo.Collection again
2014-08-29 12:28:32 -07:00
Sashko Stubailo
6b3d31ff5b
Revert "Rename Meteor.Collection -> Mongo.Collection"
...
This reverts commit 96952dda2b .
Conflicts:
packages/ddp/livedata_tests.js
packages/minimongo/minimongo.js
packages/mongo/collection.js
packages/mongo/mongo_driver.js
packages/mongo/mongo_livedata_tests.js
packages/mongo/oplog_tests.js
packages/reactive-dict/reactive-dict.js
packages/session/session_tests.js
tools/auth.js
2014-08-29 12:26:28 -07:00
Sashko Stubailo
96952dda2b
Rename Meteor.Collection -> Mongo.Collection
2014-08-29 10:11:21 -07:00
Justin SB
93b7a6fb10
Add some more scenarios for benchmark
2014-07-31 19:58:16 -07:00
Justin SB
f2184d3dbe
Tweak examples/unfinished/benchmark script
2014-07-30 14:43:19 -07:00
Justin SB
c3508acc07
Tweak benchmark to log each operation
2014-07-30 14:36:20 -07:00
David Greenspan
bee046de64
Minor tweaks
2014-05-06 17:47:13 -07:00
David Greenspan
756c954f96
Blaze._onAutorun -> _wrapAutorun
2014-05-04 11:04:51 -07:00
David Greenspan
bce67e48c3
Make events work, fix things
2014-04-28 17:28:35 -07:00
David Greenspan
1d2125512c
Start to add events in refactored Blaze
2014-04-24 16:13:24 -07:00
David Greenspan
43d672bd6a
Use refactored html.js in "old" ui-package Blaze
...
Some failing tests, which are hopefully mostly just tests of the modified code that need to be ported.
The main work was replacing the use of pseudo-attributes $special and $dynamic with the new HTML.Attrs(...) / array representation. Some functions were also rewritten to use Visitors (`toJS`, old `toHTML`/`toText`/`evaluateAttributes`, `replaceSpecials` in the compiler, but not `optimize` yet or `materialize`).
Create the "blaze-tools" package to hold toJS and other functions that are useful for template parsers/compilers that need to read or generate JS.
2014-04-22 13:47:57 -07:00
David Greenspan
7db8e5a074
Import of "minimal, stand-alone Blaze" experiment
2014-04-21 21:00:41 -07:00
Avital Oliver
b2bb353a10
Implement UI.getElementData
...
Replaces Spark.getDataContext
2014-03-13 14:06:24 -07:00
David Greenspan
d27fa802b7
Change {{> content}} to {{> UI.contentBlock}}
...
...and elseContent to UI.elseBlock.
2014-03-04 20:08:22 -08:00
Avital Oliver
7309025348
mv examples/unfinished/shark/ examples/unfinished/reorderable-list/
2014-02-07 15:04:42 -08:00
Avital Oliver
042fef5af4
Get unfinished/shark back to a working state.
2014-02-07 15:03:48 -08:00
Avital Oliver
9fa73a3d25
Simplify account-ui-viewer due to new template argument paradigm
2014-02-03 23:43:04 -08:00
David Greenspan
89b11490d6
Fix "atoms" title tag
2014-01-27 15:27:32 -08:00
David Greenspan
5038c63d08
Merge shark, including shark-isolate-helpers work
2014-01-27 15:21:23 -08:00
David Glasser
6471dce8fa
Merge branch 'devel' into shark
2014-01-27 13:58:11 -08:00
David Greenspan
8cafffa82d
"atoms" example
...
Demonstrates "components" using the new convention where keyword args with no positional args become the data context.
2014-01-25 19:44:47 -08:00
Sashko Stubailo
45ccc12970
Make default accounts-ui styling simpler/flatter
2014-01-21 13:57:52 -08:00
Avital Oliver
cb8c0fc6e1
Fix most of accounts-ui-viewer
2013-12-16 20:07:23 -08:00
David Glasser
a933225026
Merge branch 'devel' into shark
2013-12-02 17:29:35 -08:00
Nick Martin
db59ab13c1
wait for server to be running instead of naive sleep.
2013-11-26 15:05:18 -08:00
David Greenspan
84b123ef44
don't use triple stache for HTML attrs in examples
...
This syntax has a bug where it relies on having html5-tokenizer on the client, code which was written for the server (and uses Function.bind, defineGetter, etc.).
The plan is to deprecate/remove this syntax anyway, i.e. not allow
you to say `<x {{{attrs}}}>` and then have `attrs` evaluate to a string like
'key1="value1" key2="value2"' at runtime. Constructing these strings is error-prone and likely to be insecure.
Instead, you'll have your choice of double-stache in an attribute value, with or without quotes (`<a b={{c}}>`, or `<a b="{{c}} {{d}}"`, or even `<a b={{c}}-{{d}}>`), or double-stache at the top level of a tag, as in `<a {{b}}>`, in which case `b` must be either a dictionary of attribute names and values or a string containing at most a single attribute name (e.g. "selected" or "").
2013-11-12 19:15:47 -08:00
David Greenspan
c9a79c1593
Merge branch 'devel' into shark
...
Conflicts:
examples/leaderboard/.meteor/release
examples/parties/.meteor/release
examples/todos/.meteor/release
examples/wordplay/.meteor/release
2013-11-11 20:50:33 -08:00
Nick Martin
c1d2c31b90
Update readme and scenarios for new benchmark.
2013-11-05 23:13:01 -08:00
Nick Martin
a4df4a792c
Add indexes to help mongo CPU.
2013-11-05 23:12:50 -08:00
Nick Martin
fd7ffb4420
Use method for remove.
2013-11-05 18:24:29 -08:00
Nick Martin
f688a54456
remove silly print.
2013-11-05 18:23:03 -08:00
Nick Martin
8bf8162c7a
Comment fixups.
2013-11-05 18:23:03 -08:00
Nick Martin
6a78254ddc
don't count the whole table.
2013-11-05 15:48:56 -08:00
Nick Martin
7c6073a9f5
no, don't remove
2013-11-05 15:47:10 -08:00
Nick Martin
80c7749c34
wip
2013-11-05 15:47:10 -08:00
Nick Martin
4500a1aa6d
update params files and readme for new benchmark.
2013-11-05 15:41:24 -08:00
David Glasser
28aa83d774
Add facts to chat-benchmark.
2013-11-05 15:41:23 -08:00
Nick Martin
971d93ae24
Chat benchmark
2013-11-05 15:41:23 -08:00
Nick Martin
9a47e73392
copy off old benchmark.
2013-11-05 15:41:23 -08:00
Avital Oliver
67844275b3
accounts-ui-viewer partially running
...
* introduced `withData` on components to allow
passing data without being exposed to the OO
model
2013-10-04 22:40:34 -07:00
David Greenspan
2ff37d14f3
shark example seems to work (with many XXX)
2013-08-26 13:59:00 -07:00
David Greenspan
afc2759e01
glitchless add/remove/move
...
handles quick add-remove, double-move, and add-move
even seems to work with Sortable!
2013-08-16 15:50:21 -07:00
David Greenspan
5b801b027a
fix quick add/remove
...
todo:
- make "move" use the same state object for smooth
moves of fading-in elements
- fix double-move of same element
2013-08-15 19:01:08 -07:00
Avital Oliver
b43024358e
Resolve a bunch of xcxc's
2013-08-14 20:53:33 -07:00
David Greenspan
880b1a3488
don't lose "style" attribute if added mid-move
2013-08-13 19:24:04 -07:00
David Greenspan
3a80e20957
demo of new move animation strategy
2013-08-13 18:48:29 -07:00
Avital Oliver
f5e36e1463
Remove unused line
2013-08-12 14:07:41 -07:00
Avital Oliver
c55cba9962
Rewrite {{#if}} to use DomRange (without support for else).
...
This allows {{#if}}s within {{#AnimatedList}} to be animated.
2013-08-12 14:07:29 -07:00
Avital Oliver
838cd5ce06
Fix removing a DomRange with more than one element.
...
Once you remove an element from the dom, it has no 'nextSibling'.
So don't remove elements while iterating over them.
2013-08-12 13:49:18 -07:00
Avital Oliver
90aea32a75
AnimatedList is now a component
2013-08-12 13:48:51 -07:00