Commit Graph
170 Commits
Author SHA1 Message Date
Yerko Palma 1d9b544626 update dependencies (#663) 2018-06-05 10:44:46 -04:00
alex b0cdb6cd63 Build for UMD (#617)
* Build for UMD

8 characters. See choojs/choo#537

* Export UMD as 'Choo' instead, export choo/html also

* Don't export choo/html in all circumstances
2018-05-23 10:28:38 +02:00
Yoshua Wuyts 4ee1e774d3 6.11.0 2018-05-22 10:58:41 +02:00
Renée Kooi 948a4f8a26 Use nanoassert in the browser (#651) 2018-04-04 12:29:01 +02:00
Renée Kooi 4f50c0ae34 Switch to nanohtml (#644) 2018-04-04 12:28:49 +02:00
Yoshua Wuyts 4c6985c819 v6.11.0-preview1 2018-03-30 18:49:08 +02:00
Yoshua Wuyts bddcfbe838 choo components (#639)
* add components

* example: componentize header

* fix choo SSR

* example: componentize footer

* example: fix footer

* update component cache asserts

* componentize todos

* reorder example dir

* fix example tests

* fix dep check test

* Add garbage collection of unused components

* Apply args when calling identity

* update to new component preview

* update nanocomponent

* fix cache err name

* remove static methods from example

* restore app.emit() function

* public API tests

* offset component cache iteration by 2

* whitelist contents of component folder (#643)

* allow lru number arg

* fix lint typo
2018-03-30 18:19:06 +02:00
Yoshua Wuyts 357d50871e 6.10.3 2018-03-14 12:25:47 +01:00
Yoshua Wuyts 74b5f9418e 6.10.2 2018-03-14 12:21:30 +01:00
Renée Kooi 3e95bbdf3c 6.10.1 2018-03-08 23:31:41 +01:00
Yoshua Wuyts 7a86ae8155 6.10.0 2018-03-07 13:21:15 +01:00
Nate Goldman 4251a14015 6.9.0 2018-03-05 15:56:04 -08:00
Nate Goldman cf1f99b94a add support for hyperscript in choo.toString (#635)
* add failing test for hyperscript (#634)

* add support for hyperscript in choo.toString (#634)
2018-03-05 08:11:07 -08:00
Renée Kooi 8937832d5f 6.8.0 2018-02-14 12:52:44 +01:00
Nick Nikolov 658a399e18 Update nanotiming (#628)
In order to resolve https://github.com/choojs/nanotiming/issues/13 in
choo
2018-02-13 22:08:38 +01:00
Yoshua Wuyts 796d41a51b 6.7.0 2018-01-18 00:01:11 +01:00
Marc Bachmann cf8c316189 Separate route matching from rendering (#613)
- This fixes https://github.com/choojs/choo/issues/530
- Adds support for wayfarer/nanorouter subrouters
2018-01-17 23:58:42 +01:00
Yoshua Wuyts 2dab1b593d 6.6.1 2017-12-28 22:18:16 +01:00
Yoshua Wuyts 3c41236669 6.6.0 2017-11-15 12:45:16 +01:00
Yoshua Wuyts ae02900184 use tinyify (#595) 2017-11-01 15:35:03 +01:00
Renée Kooi 2576e2d9ed update repo url (#594) 2017-10-31 12:36:06 +01:00
Yoshua Wuyts b4e561cba1 6.5.1 2017-10-22 15:24:53 +02:00
Yoshua Wuyts 606bfbf0bb 6.5.0 2017-10-20 16:31:23 +02:00
Yoshua Wuyts 2f970403d5 6.4.4 2017-10-20 15:45:46 +02:00
Seiya IZUMI 77b2dc4cae Add html/index.d.ts (#586)
* Add html/index.d.ts

* Import bel

* Fix typo
2017-10-20 15:30:13 +02:00
Yoshua Wuyts 0bedc6cd34 6.4.3 2017-10-18 13:45:24 +02:00
Yoshua Wuyts ae6de94896 6.4.2 2017-10-10 11:57:55 -04:00
Takashi Fujita bfb9ed7625 add index.d.ts into files field on package.json (#576) 2017-10-10 11:56:41 -04:00
Yoshua Wuyts 5305fe6dfe 6.4.1 2017-10-08 13:58:44 -04:00
Todd Kennedy 04973020c1 6.4.0 2017-10-05 16:51:37 -04:00
Todd Kennedy 8615c9b481 Add typescript definition (#545) 2017-10-05 16:51:09 -04:00
Yoshua Wuyts 2e4c76eca8 6.3.0 2017-10-03 17:44:25 -04:00
Johan Bergström b66d7de71c package: prepublish -> prepublishOnly (#573)
`prepublish` is deprecated in favor of `prepare` and `prepublishOnly`.
Seeing how we want `npm run build` invoked only prior to publishing,
opt for `prepublishOnly`.

Refs: https://github.com/npm/npm/issues/10074
2017-10-03 17:40:06 -04:00
Johan Bergström fcd08d737c deps: update bel to 5.1.3 (#571)
Fixes dependency issues for some setups.
2017-10-03 17:39:36 -04:00
Yoshua Wuyts 5254946f77 6.2.0 2017-10-03 12:35:20 -04:00
Maciej Sitko 57cd1223f2 6.1.0 2017-09-20 20:53:15 +01:00
Maciej Sitko ef3b372e23 exporting bel/raw via choo/html/raw (#565) 2017-09-19 19:43:37 +01:00
Yoshua Wuyts 5a5723561b 6.0.1 2017-09-11 23:42:01 +02:00
Yoshua Wuyts 41e4697af9 v6.0.0 2017-08-09 18:54:09 +02:00
Yoshua Wuyts 30fcdf9bf6 6.0.0-4 2017-07-26 19:32:23 +02:00
Yoshua Wuyts 9c8c5b3c85 Save location (#534)
* add location

* remove zopfli from build

* state.location -> state.href

* add state.href docs
2017-07-26 19:31:15 +02:00
Takashi Fujita 4684f5ef1a add files field into package.json (#539)
resolve #537
2017-07-26 19:30:48 +02:00
Yoshua Wuyts 011fb735d2 6.0.0-3 2017-07-12 14:24:00 +02:00
Yoshua Wuyts a703ac5c56 State in tostring (#529)
* add state to toString

* set initial state if possible

* add window assertion for tostring
2017-07-11 15:07:53 +02:00
Yoshua Wuyts 4e2ad6abc7 6.0.0-2 2017-07-03 10:49:20 +02:00
Yoshua Wuyts 586cdf9ae9 update nanohref (#522) 2017-07-03 10:48:38 +02:00
Yoshua Wuyts 711f92a7c1 use nanolocation (#523) 2017-07-01 13:50:14 +02:00
Yoshua Wuyts 0a9689ef7d 6.0.0-1 2017-06-29 17:20:25 +02:00
Yoshua Wuyts 5d2104963c remove default route, parse qs (#521) 2017-06-29 17:20:00 +02:00
Yoshua Wuyts fa1e4b1caa v6.0.0-0 2017-06-28 15:57:18 +02:00