Commit Graph

99 Commits

Author SHA1 Message Date
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
Geoff Schmidt
f766cf29fc First pass of template-level API extensions
Untested, but a demo is in the works
2012-08-08 17:05:56 -07:00
Nick Martin
33d53847c0 Make todos spiderable. 2012-08-03 19:49:05 -07:00
Nick Martin
1765ef011a Merge remote-tracking branch 'refs/remotes/origin/master' into devel 2012-06-06 20:20:35 -07:00
David Greenspan
373c7039c5 start of "controls" demo 2012-06-04 21:21:52 -07:00
Wlodek Bzyl
dd95b830e4 Add cursor pointer to Todo Lists. 2012-05-25 20:37:24 +02:00
Avital Oliver
6862557742 Some more refactoring of python-ddp-client
- 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
2012-05-13 12:57:01 -07:00
Lincoln de Sousa
95b35239eb Moving the block_until_return method from APP to the DDPClient 2012-05-13 03:08:01 -03:00
Lincoln de Sousa
58c66a4a98 Updating the pending operation label when sending the msg (pyddp client) 2012-05-13 02:13:44 -03:00
Lincoln de Sousa
e3c69efda3 Using the line param in the help command (py-ddp-client) 2012-05-13 02:09:12 -03:00
Lincoln de Sousa
dd0afc32bd Various small pythonic improvements in the ddp-client 2012-05-13 02:09:08 -03:00
Lincoln de Sousa
39c4bdb72f Replacing print >> statements by sys.stderr.write + string format 2012-05-13 01:58:50 -03:00
Lincoln de Sousa
44cd072c77 Small refactoring for the wait command
Now, instead of having a custom "wait" fuction for each command (sub and
method) we now have a single method for this with a small test for the
kind of operation.
2012-05-13 01:58:46 -03:00
David Greenspan
a09c946ea2 use Handlebars context of event target as event_data(!!) 2012-05-11 12:37:10 -07:00
Avital Oliver
ffcf942447 Fix python-ddp-client's test_input 2012-05-10 18:56:13 -07:00
Avital Oliver
10092efab5 Inital commit of a Python DDP client 2012-05-10 18:53:00 -07:00
matt debergalis
cf59a3609b s/san-serif/sans-serif/ 2012-04-24 18:45:24 -07:00
matt debergalis
647fccfb1e Merge remote-tracking branch 'pull/patch-5' into devel 2012-04-16 16:57:20 -07:00
matt debergalis
deb7895ca0 Merge remote-tracking branches 'pull/patch-1', 'pull/patch-2' and 'pull/patch-6' into devel 2012-04-16 16:55:40 -07:00
Jonathan Kingston
7ff1093eba Adding in cursor pointer changes to leaderboard. 2012-04-16 12:23:41 +02:00
Jonathan Kingston
c2d6608242 Removal of Skybreak name, no other instances found 2012-04-16 12:21:10 +02:00
Jonathan Kingston
db2cf9eca1 Same as the other request but for wordplay. makes the squares have a pointer cursor :). 2012-04-11 14:53:23 +02:00
Jonathan Kingston
d136f904d5 Adding in pointer cursor to CSS to make it easier to use. 2012-04-11 14:47:33 +02:00
Nick Martin
390317935e Update wordplay todos 2012-04-10 12:14:29 -07:00
Nick Martin
926f70bf82 Merge branch 'refs/heads/wordplay' into devel 2012-04-10 12:09:24 -07:00
matt debergalis
0a0a4bbb87 i think you meant 6502 2012-04-10 12:06:41 -07:00