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.
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.
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.
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().
- Properly split the code between DDPClient, which is solely
in charge of communication; and App, which is solely in charge
of implementing the shell
- Fixed a bug with not waiting for a failed method call to complete
before showing the prompt again
- Changed references to createApp into reference to vote, as to
discourage accidental creation of bad apps on madewith.meteor.com