Commit graph

24 commits

Author SHA1 Message Date
Jonathan Ong
017bfef8ba remove the compose and cookies examples
moved to koajs/examples with tests
2013-12-06 14:19:03 -08:00
TJ Holowaychuk
1b9960a28e add co-body to blog example 2013-11-27 23:03:15 -08:00
TJ Holowaychuk
38ce7c1559 add blog example 2013-11-27 21:40:00 -08:00
TJ Holowaychuk
4b5c3e9920 add upload example 2013-11-27 20:44:17 -08:00
Jonathan Ong
98548f0409 conditional middleware need to be .call(this)
just realized this since we removed the top closure. i'm not sure if
there's a better way to solve this, but i'd rather have this
inconvenience than the extra closures.

we should add tests!!!
2013-11-14 21:20:51 -08:00
TJ Holowaychuk
3e56d82184 add hello-world example 2013-11-10 16:09:27 -07:00
Jonathan Ong
611dec10f2 remove closure wrap in examples thanks to compose 2.0 2013-11-08 01:13:43 -08:00
Jonathan Ong
4aa75a1164 cleanup trailing whitespace in .js files 2013-10-05 12:27:15 -07:00
TJ Holowaychuk
6a51f73524 add template integration example 2013-09-06 07:55:01 -07:00
TJ Holowaychuk
2733c61d00 docs 2013-09-02 19:31:11 -07:00
TJ Holowaychuk
1680639232 add co example 2013-09-02 19:28:54 -07:00
TJ Holowaychuk
258f662543 add ctx to error-handling example 2013-08-31 09:19:05 -07:00
TJ Holowaychuk
3eafcdd85a add names to simple example middleware 2013-08-28 21:05:35 -07:00
TJ Holowaychuk
0c19a060c4 fix simple example 2013-08-27 22:42:05 -07:00
TJ Holowaychuk
52a60b715d docs 2013-08-27 21:13:20 -07:00
TJ Holowaychuk
56b2732133 add conditional middleware middleware example 2013-08-27 21:12:42 -07:00
TJ Holowaychuk
552ef6fd52 typo 2013-08-27 21:10:29 -07:00
TJ Holowaychuk
1ceafd0f4e add conditional middleware example. Closes #5 2013-08-27 21:06:47 -07:00
TJ Holowaychuk
f6a2f54aef add error handling example 2013-08-27 20:36:44 -07:00
TJ Holowaychuk
750748834e refactor examples 2013-08-27 19:57:16 -07:00
TJ Holowaychuk
b138f713fa refactor example 2013-08-27 19:56:35 -07:00
TJ Holowaychuk
17d8f67073 add pipe example. Closes #9 2013-08-27 19:48:58 -07:00
TJ Holowaychuk
ca7be7b89f add Context#cookies support. Closes #7
need to add signing support in there as well
2013-08-20 21:51:14 -07:00
TJ Holowaychuk
9e167c5ed9 Initial commit 2013-08-17 00:15:57 -07:00