David Greenspan
be6b876d53
remove trailing comma
2012-09-30 15:30:59 -07:00
David Greenspan
9dce7c7cfa
rename tabs to JS Lex and JS Parse
2012-09-30 15:05:32 -07:00
David Greenspan
8f23d52618
rename example jsparse-demo -> parse-inspector
2012-09-30 15:04:55 -07:00
David Greenspan
6686d40526
include comments in jsparse AST
2012-09-30 00:42:04 -07:00
David Greenspan
3201fe5180
jsparse demo improvements (lexer tab)
2012-09-29 21:33:19 -07:00
David Greenspan
b995d4751a
add preserve-inputs package to skel and more examples
2012-09-28 13:23:30 -07:00
David Greenspan
d22e1e6dcd
todos uses preserve-inputs
2012-09-24 20:25:03 -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 Greenspan
660882eb4e
examples specify whether they use jquery
2012-09-17 14:42:28 -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
David Greenspan
e0b84cd87c
use preserve in todos example
2012-08-29 21:02: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
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
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
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
David Greenspan
b4ccc65f54
reversible spinner
2012-08-08 18:23:54 -07:00
Geoff Schmidt
80c5e2a5ca
state preservation demo (not working yet)
2012-08-08 18:22:54 -07:00
David Greenspan
07113b6276
preserved spinner :)
2012-08-08 17:51:04 -07:00
Geoff Schmidt
4ec97272b5
landmark-demo WIP
2012-08-08 17:25:28 -07:00