Commit Graph
557 Commits
Author SHA1 Message Date
Yoshua Wuyts fa1e4b1caa v6.0.0-0 2017-06-28 15:57:18 +02:00
Yoshua Wuyts eb9b7fd59f v6 beta branch (#489)
* become prototype based

upgrade to new nanobus

remove nanohistory

add nanotiming

remove nanomount

move newTree to next tick

upgrade timing API

add more node warnings to .start/.mount

add morph timing

pass app instance to .use()

self-clearing async-timing

clean up timings

better mount error

fix mount bug

de-prototype helper functions

update to latest nanotiming

upgrade to nanotiming 5

update nanotiming

add toString asserts

more assertions

add event based tracing

expose createlocation

assert return types from render to always be the same

add navigate event

expose route on state

expose events

update uglify

use scroll-to-anchor

update nanobus

document events

update docs

more docs

changelog v6

upgrade nanomorph

fixup! neatify morph assertions

update bel dep

add popstate docs to changelog

* expose events on state

* upgrade deps
2017-06-28 15:53:37 +02:00
Charlotte Spencer fc92f8eaad docs(README): fix emitter typo (#517) 2017-06-21 17:25:44 +01:00
Yoshua Wuyts bfa245edfc 5.6.2 2017-06-02 12:34:10 +02:00
Yoshua Wuyts 6bd9a39cee fix .toString() (#510)
Closes GH-509. Thanks!
2017-06-02 12:33:51 +02:00
Yoshua Wuyts 8ff7deea3c add server tests (#501)
* add server tests

* remove node 4 tests
2017-05-24 13:02:33 +02:00
Yoshua Wuyts 03adc49164 5.6.1 2017-05-20 18:52:40 +02:00
Kasper Lewau 9708859894 pass through emit args to updateHistory (#496) 2017-05-20 18:52:18 +02:00
Yoshua Wuyts eec8f756ec 5.6.0 2017-05-19 14:56:58 +02:00
Emil Bay 736e4b4514 Add hook for replaceState (#494)
* Add hook for replaceState

* Clarify why replaceState is dangerous
2017-05-19 14:56:45 +02:00
Yoshua Wuyts 1d8fd02da2 5.5.0 2017-05-19 14:32:14 +02:00
Emil Bay fe7f3a1695 Allow listeners to attach before rendering (#493)
* Allow listeners to attach before rendering

* Move rerender listeners down. Subtle sequencing

* Update docs to reflect changes
2017-05-19 14:20:39 +02:00
Yoshua Wuyts 26a5a98049 5.4.0 2017-04-26 14:08:18 +02:00
Yoshua Wuyts 6cf13af5ce warn on unmount (#485) 2017-04-26 13:52:34 +02:00
Yoshua Wuyts 357d7d14b5 fix example line length nit 2017-04-26 04:09:55 +02:00
Yoshua Wuyts d17b3e4801 5.3.0 2017-04-25 02:51:19 +02:00
Yoshua Wuyts f45e1646ec expose router (#482)
In preparation for GH-480, but also because choo 4 exposed the router, and we need it for server rendering
2017-04-25 02:50:58 +02:00
Yoshua Wuyts dc8a531944 5.2.0 2017-04-19 13:35:18 +02:00
Yoshua Wuyts 305d0a1ce5 run choo event handlers first (#479) 2017-04-19 13:02:43 +02:00
Yoshua Wuyts 2cdf2dcdf0 5.1.5 2017-04-14 17:10:46 +02:00
Yoshua Wuyts 30429d5970 Unlib (#477)
* use nanohref

* use nanohistory
2017-04-14 17:10:21 +02:00
Irina Shestak 2faba85b84 describe dat data-no-routing attr (#474) 2017-04-13 16:41:09 +02:00
Richard Smith-Unna b5ed2f3828 Clarify app.use() emitter event usage (solves #470) (#472)
* Explain DOMContentLoaded significance in API docs

* Clarify `app.use()` emitter event usage

* Typo
2017-04-11 14:36:27 +02:00
Yoshua Wuyts 5f09e11f08 tweak philo even a lil more 2017-04-07 22:22:47 +02:00
Yoshua Wuyts a43eca0778 tweak philosophy slightly 2017-04-07 22:21:40 +02:00
Greenkeeper 2909271c2f chore(package): update browserify to version 14.3.0 (#467)
https://greenkeeper.io/
2017-04-07 18:36:43 +02:00
Greenkeeper 1cec8bbf22 Update standard to version 10.0.0 🚀 (#468)
* chore(package): update standard to version 10.0.0

https://greenkeeper.io/

* appease the standard gods
2017-04-07 18:19:23 +02:00
Yoshua Wuyts 281b351d42 fix nanoframework reference 2017-04-03 03:53:17 +02:00
Yoshua Wuyts 16d15d0e88 optimize example further (#462) 2017-04-02 01:19:59 +02:00
Yoshua Wuyts 96c0d1bc29 remove deopts from example (#460) 2017-04-01 17:51:27 +02:00
Yoshua Wuyts 9827a97db2 add scripts (#459) 2017-03-31 22:17:53 +02:00
Yoshua Wuyts 61ea45004a 5.1.4 2017-03-31 22:02:35 +02:00
Carl Törnqvist 81216840c9 Add safer check for window properties (#458) 2017-03-31 22:01:58 +02:00
Mathias Buus bccd2db942 fix typo (#457) 2017-03-31 11:22:59 +02:00
Greenkeeper 205b7e33dd chore(package): update spok to version 0.8.1 (#456)
https://greenkeeper.io/
2017-03-30 18:10:29 +02:00
Yoshua Wuyts de6471cffe 5.1.3 2017-03-30 12:21:16 +02:00
Yoshua Wuyts 2bbcb53f4a restore document-ready dep (#454) 2017-03-30 12:20:57 +02:00
Yoshua Wuyts d389fd507a 5.1.2 2017-03-30 11:48:46 +02:00
Yoshua Wuyts b7b85261eb Remove unused variables (#453)
Closes https://github.com/yoshuawuyts/choo/issues/451
2017-03-30 11:48:21 +02:00
Yoshua Wuyts 1699580468 5.1.1 2017-03-30 11:39:11 +02:00
Yoshua Wuyts 6c0a847d68 4kb now (#452) 2017-03-30 11:38:50 +02:00
Todd Kennedy 5b4083adfd DOC: Note app.mount replaces target with tree (#449)
Make sure users are aware of potential issue with removal of node.
2017-03-29 11:04:24 +02:00
Yoshua Wuyts 044dd2254b changelog: 5.1.0 2017-03-29 11:00:01 +02:00
Yoshua Wuyts f1dd286f8a 5.1.0 2017-03-29 10:44:07 +02:00
Yoshua Wuyts 4ef1f411b5 add timing API support (#448)
* add timing API support

* fixup! bump package.json
2017-03-29 10:43:42 +02:00
Yoshua Wuyts e1462acf1d 5.0.4 2017-03-25 10:46:23 +01:00
Yoshua Wuyts 4f8bd24169 fix server render (#443) 2017-03-25 10:45:44 +01:00
Yoshua Wuyts 1904f37663 5.0.3 2017-03-25 10:19:33 +01:00
Seth Vincent 4e410ce50b hash fix: wait to run scrollIntoView (#439)
* simplify createLocation and wait to run scrollIntoView

* remove createLocation change
2017-03-25 10:17:43 +01:00
Brecht Savelkoul 0f755f010f Use npm-installed requires in README example (#442) 2017-03-25 10:09:23 +01:00