1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-08 20:55:59 +01:00
onion/js
Brett Sun 50d50c66ee Change children prop from react-router to only be a Element type
Judging by
https://github.com/rackt/react-router/blob/master/docs/API.md#children-1
and a few inspections in the code, as well as tests, the `children`
prop injected into routes can only ever be a single React Element
object.

This allows us to easily get the active route of a child (if there is
an active route) by querying the `children`’s route prop.
2016-02-01 14:48:44 +01:00
..
actions Fix property naming for Fetcher to fix "Show more" dialog 2016-01-25 10:23:20 +01:00
components Change children prop from react-router to only be a Element type 2016-02-01 14:48:44 +01:00
constants Merge with master 2016-02-01 10:18:30 +01:00
fetchers Merge with master 2016-01-19 17:02:04 +01:00
mixins
models
sources
stores Merge pull request #102 from ascribe/remove-unused-prize-list-components 2016-01-18 18:29:44 +01:00
third_party Merge branch 'master' into AD-1452-share-to-facebook-not-loaded 2016-01-19 10:18:52 +01:00
utils Reorder methods in ReactS3FineUploader 2016-01-26 11:33:38 +01:00
alt.js
app.js Merge with master 2016-01-19 16:39:19 +01:00
history.js Merge with master 2016-02-01 10:18:30 +01:00
routes.js Change children prop from react-router to only be a Element type 2016-02-01 14:48:44 +01:00