Commit Graph
180 Commits
Author SHA1 Message Date
Hendrik fd22637318 Add link to Reddit. (#566) 2017-09-20 16:55:46 +02:00
Daijiro Wachi 643daf54b1 update transferred repository links (#540) 2017-08-02 14:06:47 +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
Yoshua Wuyts 586cdf9ae9 update nanohref (#522) 2017-07-03 10:48:38 +02:00
Yoshua Wuyts 38a875a0d6 add DOMTitleChange event (#525) 2017-07-03 10:43:44 +02:00
Yoshua Wuyts 5d2104963c remove default route, parse qs (#521) 2017-06-29 17:20:00 +02:00
Yoshua Wuyts 89e27dc512 add state to overview 2017-06-28 16:06:02 +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
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
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
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
Yoshua Wuyts 281b351d42 fix nanoframework reference 2017-04-03 03:53:17 +02:00
Mathias Buus bccd2db942 fix typo (#457) 2017-03-31 11:22:59 +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 4ef1f411b5 add timing API support (#448)
* add timing API support

* fixup! bump package.json
2017-03-29 10:43:42 +02:00
Brecht Savelkoul 0f755f010f Use npm-installed requires in README example (#442) 2017-03-25 10:09:23 +01:00
Feross Aboukhadijeh 0b8cf55987 Fix standardjs.com link (#435) 2017-03-23 09:51:12 +01:00
Yoshua Wuyts 9aba28c57a more API docs for choo v5 (#432)
* more API docs for choo v5

* change handbook link
2017-03-21 16:56:33 +01:00
Yoshua Wuyts 8e8e870d45 implement choo v5 API (#425)
* implement choo v5 API

* fix tests

* 5.0.0-3

* 4kb now

* bump nanomorph

* 5.0.0-4

* fix missing deps stuff

* 5.0.0-5

* fix travis

* fixup! oops standard

* chooexpose

* fix state passing

* fixup! update example

* fixup! incorporate feedback

* fixup! more docs

* fixup! even more docs
2017-03-21 03:00:45 +01:00
Pål Ruud f84ec43fa5 Update README reflecting API changes (#397) 2017-02-07 14:02:32 +01:00
Yoshua Wuyts 7639acedcc docs: document choo/mount (#391) 2017-02-07 13:59:18 +01:00
Haroen Viaene e8f603782b fix(readme): onunload had parameter on wrong place (#384)
It had the parameter as the body of the function
2017-01-21 16:35:36 +01:00
Mickaël Andrieu edbdc09ade Fixed shema (#378) 2017-01-09 23:34:21 +01:00
Yoshua Wuyts b84189dd25 Fix docs about params (#377) 2017-01-07 02:26:28 +01:00
Paul Sonnentag ff1073a664 Update README.md with correct order of arguments in reducer (#370) 2016-12-19 13:33:04 +01:00
Remi Nyborg 0719c43855 Update README.md with correct 'location:set' usage (#362)
Struggled with a bit when upgrading to v4.0.
2016-12-16 13:56:35 +01:00
Jesse Hattabaugh 08aa47c06f fix(doc): minor edits (#353)
* chaning location:setLocation to location: set

I believe this is how the v4 api is supposed to be used

* adding note about :params

I had a hard time locating this information, and I feel like it's pretty crucial when using a router.
2016-12-11 21:26:26 +01:00
Yoshua Wuyts a7916ec3f9 [major] choo v4 (#352)
* location: change url on location:setLocation

- [ ] don't break hashing
- [ ] allow not changing the url

fixup! move fns around

fixup! add search string

* app.start: clean

* walk: add

* location: update arg calls

* fixup! location: update

* uri-wrap: fix thunking

* router: update to latest sheet-router (#239)

* router: update to latest sheet-router

* tests: fix for latest version

* tests: fix SSR

* tests: fix history

* tests: spruce up

* docs: update example

* examples: update

* deps: bump sheet-router

* 4.0.0-0

* chore(changelog): 4.0.0 (#211)

* feat(api:) arg order (#268)

* s/data, state/state, data/

* feat(api): swap arguments

* fix(href): fix routing (#271)

* feat(http): remove (#269)

* feat(router): enable hash routing (#273)

* deps: fix mount

* 4.0.0-1

* feat(mount): copy {script,link} tags

* 4.0.0-2

* fix(mount): forEach -> for

Lol can't use forEach

* fix(router): use state.location.href (#282)

* fix(mount): use deep node clone

* 4.0.0-3

* fix(deps): remove hash-match

* 4.0.0-4

* fix(mount): return node

* 4.0.0-5

* fix(router): check if a hash is a valid selector (#339)

* 4.0.0-6

* fix(router): pass params on newstate (#343)

* 4.0.0-7

* feat(docs): update for 4.0.0 (#320)

* feat(docs): update for 4.0.0

* docs: update router example in readme (#337)

* chore(changelog): update for v4 (#351)
2016-12-11 19:35:29 +01:00
Dan Motzenbecker 54b6000800 feat(docs): add Thing Translator (#347) 2016-12-11 17:00:01 +01:00
John Lindquist 911eaf397a fix(docs): closing the input tag (#345) 2016-11-29 13:56:04 +01:00
Charlike Mike Reagent cb94fc8d5b feat(docs): add kaktus (#335) 2016-11-26 18:30:08 +01:00
Zeke Sikelianos 12d4ce020e fix(readme): cleanup (#288)
* fix typos in readme

* use leaner markdown links

* alphabetize markdown reference links
2016-10-23 09:16:33 +02:00
Yoshua Wuyts 0bd73e88af docs: fix link to gitbook 2016-09-27 23:39:28 +02:00
Mattias 0e7c13a14d chore(docs): changed github username (#257) 2016-09-17 13:47:16 +02:00
Yoshua Wuyts fd0aaf9ca3 feature(deps): bump barracks (#249)
Adds support for https://github.com/yoshuawuyts/barracks/pull/59
2016-09-07 19:00:16 +02:00
Tim Wisniewski 0c5babd300 Docs: Add reminder about e.stopPropagation() (#247)
Per yoshuawuyts/sheet-router#50
2016-09-05 16:12:32 +02:00
Sean Fern eb169495ca Fix link to browserify (#244) 2016-09-02 21:02:41 -04:00
Kevin Neff a6744fad87 Add hacker news demo (#221)
docs: add hn demo
2016-08-28 00:13:10 +02:00
Christian Pekeler 4a973d7ac4 Fixing consistency of signatures. 2016-08-27 15:24:28 -06:00
Yoshua Wuyts 1236550ba6 docs: add sponsors 2016-08-27 14:28:09 +02:00
Ville Kentta 5ea93977d7 Fixed router location reference in docs 2016-08-21 21:35:59 +03:00
Tim Wisniewski cdabe22e59 Readme: fix effects example (#223)
Per #186. We could introduce `xtend` here to make a copy of `data` in order to keep it `addAndSave`, but if the purpose of this example is to illustrate an effect, that may seem overkill (unless accompanied by a longer explanation.
2016-08-16 09:50:56 -04:00
john gravois 4244a84a02 :bowtie: spelling fixes 2016-08-15 10:57:07 -07:00
RasCarlito 1703dc52ec Fix http usage example in README.md 2016-08-10 20:55:24 +02:00
A (from Sicily) 18ab8099ac Updates Cycle.js implementation details
Cycle.js supports all kind of streams related libraries but it's now built using `xstream`(http://staltz.com/xstream/) which is not that heavy (nos as heavy as RxJS).
2016-08-08 15:49:26 +02:00
Yoshua Wuyts 4aee149f48 docs: add cli link 2016-08-04 18:04:57 +02:00