Commit Graph

144 Commits

Author SHA1 Message Date
Avital Oliver
ee922de1c2 Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_server.js
2012-09-21 10:59:48 -07:00
David Greenspan
886d657afe Merge branch 'jsparse' into devel
Adds the "jsparse" JavaScript parser as an internal package.

At some point jsparse will get proper docs and become a public
package.  For now, it's basically complete and has unit tests,
so it meets the bar for an internal package.  It will be used
by the new docs tool.
2012-09-19 11:45:02 -07:00
David Glasser
af741cc245 Merge branch 'devel' into auth
Conflicts:
	examples/todos/.meteor/packages
	examples/wordplay/.meteor/packages
2012-09-17 15:07:48 -07:00
David Greenspan
660882eb4e examples specify whether they use jquery 2012-09-17 14:42:28 -07:00
David Glasser
2fedd2adfc Merge branch 'devel' into auth
Conflicts:
	packages/livedata/livedata_common.js
	packages/livedata/livedata_connection.js
	packages/livedata/livedata_server.js
	packages/mongo-livedata/collection.js
2012-09-17 14:42:10 -07:00
David Glasser
5e622215ba Change all publicly documented APIs to use camelCase.
For now, the old names still work as well.

This includes:
  - Meteor.isServer/isClient
  - this.isSimulation in methods
  - Context.onInvalidate
  - Meteor.status().retryCount/retryTime

Remove old backwards-compatibility "Sky" alias for "Meteor".

Update all examples in the docs to use camelCase.

Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -07:00
David Greenspan
34b4ebbf22 create JSParser 2012-09-12 14:11:28 -07:00
David Greenspan
6e5e7497f0 Lexeme object 2012-09-12 13:04:19 -07:00
David Greenspan
a6bd5747b2 ParseNode object 2012-09-11 18:03:29 -07:00
David Greenspan
f1379b8ec9 demo tweaks 2012-09-11 16:49:47 -07:00
David Greenspan
c63278332b AST => tree 2012-09-11 16:49:47 -07:00
David Greenspan
d6370e762a tweaks, node naming 2012-09-11 16:49:47 -07:00
David Greenspan
ef62683280 none => empty 2012-09-11 16:49:47 -07:00
David Greenspan
42675e5c02 "variables" statement => "var" statement 2012-09-11 16:49:47 -07:00
David Greenspan
48c62ea850 further demo tweaks 2012-09-11 16:49:47 -07:00
David Greenspan
cbfad7f578 UI tweaks 2012-09-11 16:49:46 -07:00
David Greenspan
ce65ffede8 whitespace fixes 2012-09-11 16:49:46 -07:00
David Greenspan
cad29bd0b1 css tweaks 2012-09-11 16:49:46 -07:00
David Greenspan
6f46d17a54 change starting example 2012-09-11 16:49:46 -07:00
David Greenspan
d17d38600d tweaks, better-looking implicit semis 2012-09-11 16:49:46 -07:00
David Greenspan
99e8bacdb3 initial commit of jsparse package and demo 2012-09-11 16:49:46 -07:00
Avital Oliver
a5a3d3a94a Rename package: accounts-passwords -> accounts-password
Also replaces accounts -> accounts-base in one place missed
by last commit
2012-09-11 11:03:50 -07:00
Avital Oliver
74aca65c95 Rename package: accounts -> accounts-base 2012-09-10 22:59:32 -07:00
Nick Martin
c514341df8 Merge branch 'master' into auth
Conflicts:
	.gitignore
	examples/todos/client/todos.js
2012-09-04 00:42:35 -07:00
David Greenspan
e0b84cd87c use preserve in todos example 2012-08-29 21:02:31 -07:00
Avital Oliver
b9c3805f62 Code review changes + Configure todos to not require email so that Twitter login works 2012-08-24 12:25:31 -07:00
Avital Oliver
a2eda047fe A big refactor and cleanup on oauth{1,2} and twitter login 2012-08-24 12:25:31 -07:00
David Greenspan
2255c61383 more events({... changes 2012-08-23 12:17:53 -07:00
David Greenspan
1ca5357b28 new event map syntax 2012-08-22 19:41:06 -07:00
David Greenspan
379f608043 begin updating examples for new API 2012-08-22 18:14:15 -07:00
David Greenspan
9fe768989f past-tense created/rendered/destroyed
Consensus is that "render" is too confusing a name for what's obviously a callback (after the template is rendered).  We prefer past tense rather than oncreate, onrender, ondestroy.
2012-08-22 16:58:48 -07:00
Nick Martin
729e45003b Don't require username in example, because then we can't show use facebook or google auth 2012-08-17 17:53:01 -07:00
Geoff Schmidt
fc85b3a243 scale d3 canvas correctly 2012-08-15 21:43:33 -07:00
Geoff Schmidt
7c89eb8eca make d3 demo wider 2012-08-15 20:55:13 -07:00
Geoff Schmidt
0241f84b56 clean up the demo 2012-08-15 20:42:50 -07:00
Geoff Schmidt
5d8038cae1 kill excessive comments (moved into asana) 2012-08-15 19:06:13 -07:00
Avital Oliver
3e3f00f07d Use Meteor.accounts._options to drive username vs email behavior 2012-08-15 15:50:17 -07:00
David Greenspan
01c7afea5f Merge branch 'master' into spark
Include 0.3.9 changes in spark branch (which my have public followers)
2012-08-13 14:55:31 -07:00
David Greenspan
ded6c4901b implement Template.foo.{preserve,events,helpers}() (needs tests) 2012-08-13 10:02:43 -07:00
David Greenspan
0a198d839d fix landmark demo for new api 2012-08-12 11:44:03 -07:00
Geoff Schmidt
efaa885a7b use click events rather than hit testing 2012-08-10 20:17:37 -07:00
David Greenspan
fec60a5ea9 Unify template obj and template callback this.
The `template` arg in `eventHandler(event, template)` and the `this`
in all three of {create,render,destroy} are now an object with
methods `find`,`findAll` assigned at creation time (closures) and
properties `firstNode`, `lastNode`, and `data` (the handlebars data)
set upon each callback.  No other props are set and the app is free
to scribble on this object.

Only subtlety is that we can't support find/findAll/firstNode/lastNode
in create/destroy callback.  In this case, find/findAll throw an error
and firstNode/lastNode are reliably null.

Added landmark.hasDom().
2012-08-10 16:37:47 -07:00
Geoff Schmidt
bc8aadff7c demo: disable remove button when no selection 2012-08-10 03:38:06 -07:00
Geoff Schmidt
eff18190b0 Add a d3 demo :) 2012-08-10 03:28:09 -07:00
Geoff Schmidt
b7a29d5f8f slight cleanup in landmark-demo 2012-08-09 20:58:25 -07:00
Geoff Schmidt
fe1e65cd9d implement landmark-demo reset button
(doesn't work yet, no API behind it)
2012-08-09 18:59:34 -07:00
Geoff Schmidt
3e75ed625a comment changes 2012-08-09 18:59:34 -07:00
Nick Martin
0019e5f716 Merge branch 'master' into auth
Conflicts:
	examples/todos/.meteor/packages
2012-08-09 17:58:58 -07:00
Geoff Schmidt
d696b9a611 New Spark.list implementation, all tests pass 2012-08-09 17:48:50 -07:00
Geoff Schmidt
05444bbce5 landmark render callbacks bubble up 2012-08-08 18:55:43 -07:00