1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/js/utils
Brett Sun d23331d9b9 Remove ReactS3FineUploader's dependency on react-router's location
ReactS3FineUploader used to check the current url’s query params to
determine which method it should use to upload, but this decision means
the component is tightly coupled with react-router and history.js. A
major pain point is having to propagate the location prop all the way
down to this component even when it’s not necessary.

Now, ReactS3FineUploader’s parent elements can either parse the current
query params themselves or, if they have a location from react-router,
simply use the location.

Added a few utils to help parse url params.
2015-10-30 17:43:20 +01:00
..
__tests__ format stuff 2015-06-08 11:50:40 +02:00
acl_utils.js Rename intersectAcls to intersectList and do some clean up 2015-10-20 18:10:48 +02:00
constants_utils.js Fix error in AppGateway logic 2015-10-01 16:59:44 +02:00
dom_utils.js From dom_utils.js, remove useless 'continue' statement in loop/try-catch 2015-10-29 13:22:10 +01:00
error_utils.js error handling first cut 2015-07-17 15:41:09 +02:00
feature_detection_utils.js Introduce draganddrop feature detection and add it to FileDragAndDropDialog 2015-10-14 17:19:01 +02:00
fetch_api_utils.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
file_utils.js simplified error handling in progress routine 2015-07-24 16:29:57 +02:00
form_utils.js loan request up till accept 2015-08-26 09:50:38 +02:00
general_utils.js Merge remote-tracking branch 'origin/master' into AD-538-users-and-even-devs-are-unsure-wh 2015-10-22 13:38:49 +02:00
lang_utils.js increase otherdata limit to 50MB 2015-08-24 12:11:07 +02:00
requests.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00
url_utils.js Remove ReactS3FineUploader's dependency on react-router's location 2015-10-30 17:43:20 +01:00