Avital Oliver
2bca593ee3
minor comment change
2013-10-04 22:52:14 -07: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
Avital Oliver
599778a791
block helper calling syntax
...
notably, only applies when the block helper is a component
rather than a function. so this works for built-in block helpers
such as {{#if}}.
2013-10-04 22:21:58 -07:00
Avital Oliver
2c727f0dbc
{{loginButtons}} -> {{> loginButtons}}
2013-10-04 22:20:53 -07:00
Avital Oliver
1af3de105c
remove call to Template.X.preserve
2013-10-04 22:20:52 -07:00
David Greenspan
c7c10c7abe
start of another test
2013-10-04 20:55:48 -07:00
David Greenspan
71feaaaf8b
Spacebars.index comment
2013-10-04 20:41:58 -07:00
David Greenspan
1d721aba43
more comments
2013-10-04 20:09:04 -07:00
David Greenspan
8736e25a41
add comment
2013-10-04 20:02:06 -07:00
David Greenspan
f72e0fdeb9
typo in test name
2013-10-04 15:40:47 -07:00
David Greenspan
d31b82e4db
XXX comments explaining next step
2013-10-04 15:40:43 -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
Avital Oliver
17129ee45a
fix docs modulo block helpers args (i think)
2013-10-04 13:56:03 -07:00
David Greenspan
ccdeb0c141
test triple stache
2013-10-04 13:09:21 -07:00
David Greenspan
932075eacb
fix helpers, dynamic attributes; tests
2013-10-04 12:36:52 -07:00
David Greenspan
7e5dcedb30
try to fix "template" argument in event handlers
2013-10-03 16:22:38 -07:00
David Greenspan
d35461a4fd
spacebars-tests package
...
for tests that use templates, which can't be included in the spacebars package for reasons having to do with package building/linking and circular dependencies
2013-10-03 16:22:38 -07:00
David Greenspan
09ffdff30b
remove unused code in "templating" package
2013-10-03 16:22:38 -07:00
David Greenspan
d978f6639b
remove whitespace
2013-10-03 16:22:38 -07:00
David Greenspan
c7dcc75d70
remove old package dependencies of accounts-ui
...
… which shouldn't be necessary
2013-10-03 16:22:37 -07:00
David Greenspan
6e5d73d181
fix html_scanner tests a little bit
2013-10-03 16:22:37 -07:00
Avital Oliver
a010bc946f
in shark, password fields aren't automatically preserved by id
2013-10-03 15:41:20 -07:00
Avital Oliver
3b3a51f6e5
bring back Handlebars._escape
2013-10-03 14:55:59 -07:00
Avital Oliver
119682c8ec
loginButtons is a template, not a helper
2013-10-03 14:55:44 -07:00
Avital Oliver
072517d788
oops, forgot to commit a file.
2013-10-03 13:56:43 -07:00
Avital Oliver
6ccb6862a9
backcompat for Handlebars.registerHelper
2013-10-03 13:44:46 -07:00
Avital Oliver
179177d25b
accounts-ui: fix configured state for login services
...
(accidentally removed in previous commit when working
around {{#unless}} not working within class attributes
in template)
2013-10-03 11:32:21 -07:00
David Greenspan
1cbd3861fa
start breaking spacebars tests
2013-10-03 10:16:06 -07:00
David Greenspan
165594c239
start fixing Spacebars tests
2013-10-03 10:16:06 -07:00
Avital Oliver
8f75185fea
use new dynamic template pattern in accounts-ii
2013-10-02 22:13:23 -07:00
Avital Oliver
8633f030e7
enable dynamic templates
...
specifically, make {{> foo}} where foo is a helper returning
a template object render that template.
2013-10-02 22:13:06 -07:00
Avital Oliver
b24e54e3bf
accounts-ui not dependent on global {{currentUser}} handler
...
Specifically, we don't have an API for defining global handlers right
now (the old Handlebars.registerHelper). We still need to devise
a new pattern for this but in the meanwhile, this is a step towards
getting accounts-ui to work.
2013-10-02 22:12:24 -07:00
David Greenspan
227aee3985
Merge remote-tracking branch 'origin/shark-domrange-accounts-ui' into shark
2013-10-02 15:06:06 -07:00
David Greenspan
2b00ed90bd
add back npm-shrinkwrap, removed by accident
2013-10-02 15:05:48 -07:00
Avital Oliver
44769e6ec0
{{#if}} treats empty arrays as falsey
2013-10-02 15:04:45 -07:00
Avital Oliver
9ea6c7a424
initial work towards accounts-ui on shark
2013-10-02 15:04:35 -07:00
David Greenspan
2445a2c2cb
Merge branch 'devel' into shark
2013-10-02 15:01:19 -07:00
Avital Oliver
4f564062a0
let packages define templates
2013-10-02 14:00:36 -07:00
Emily Stark
7f64c726f7
Merge branch 'mongo-upsert' into devel
2013-10-02 13:23:22 -07:00
Emily Stark
86492eecec
Fix simulateUpsert call indentation
2013-10-02 12:47:50 -07:00
Avital Oliver
66e56cdd14
fix double calls to bubbling event handlers
2013-10-02 12:31:46 -07:00
Emily Stark
dec262b239
Document upsert (first draft)
2013-10-02 12:17:04 -07:00
Naomi Seyfer
67046601ea
Merge branch 'cannonical' into devel
2013-10-02 12:11:37 -07:00
Naomi Seyfer
998e805993
more docs and history.md notes
2013-10-02 12:01:24 -07:00
Naomi Seyfer
937bce6e5d
Fix docs
2013-10-02 12:01:24 -07:00
Naomi Seyfer
c3fb7741f6
Infinity and NaN in EJSON
2013-10-02 12:01:24 -07:00
Naomi Seyfer
0d8bfbae8a
fix tests, rename option, more style fixes
2013-10-02 12:01:21 -07:00
Andrew Wilcox
da6bc1d835
EJSON.stringify objects in sorted key order.
...
Thus if two objects are EJSON.equals, their serialization strings will
be equal also.
(This should mean that reactive-dict could now allow objects to be
used as the key for `equal`).
Note this change does not affect livedata because livedata uses the
EJSON adjust functions to convert between JSON and EJSON (not
stringify).
Adds a couple options to EJSON.stringify:
* keyOrderSensitive: in parallel with EJSON.equals, outputs objects in
native key order (the old behavior).
* indent: pretty-prints the output.
The serialization code is based json2, which makes it easy to preserve
the indentation functionality provided by JSON.stringify. Only enough
code is included to serialize arrays and objects; serializing
primitive values such as strings is delegated to the native
JSON.stringify to reduce code and in case the native implementation is
more efficient.
Include underscore as an explicit dependency in package.js.
Document options to EJSON.equals and EJSON.stringify.
2013-10-02 11:43:44 -07:00
Emily Stark
8d9f97f358
Use a hardcoded example for Meteor.release, for now.
2013-10-02 11:43:16 -07:00
Emily Stark
90aac0ab5a
Merge branch 'expire-tokens-fixes' into devel
2013-10-02 11:39:07 -07:00