masto-fe/app/javascript/flavours/glitch/util
David Yip 2dc4fbbd1a
When pulling out max_toot_chars, handle nulls
flavours/glitch/util/initial_state is used in places where we want to
exhibit different behavior based on user preferences.  This means that
it's used in places where no preference is defined, i.e. on an
unauthenticated access.  All values exported from that module must
therefore expect that case; previously, the max chars value didn't.

Addresses #306.
2018-01-08 09:45:59 -06:00
..
emoji WIP <Compose> Refactor; Fin~ 2018-01-04 21:17:30 -08:00
api.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
async-components.js WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
base_polyfills.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
bio_metadata.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
counter.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
dom_helpers.js WIP <Compose> Refactor; <Drawer> ed. 2018-01-04 18:21:59 -08:00
extra_polyfills.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
fullscreen.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
get_rect_from_entry.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
initial_state.js When pulling out max_toot_chars, handle nulls 2018-01-08 09:45:59 -06:00
intersection_observer_wrapper.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
is_mobile.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
js_helpers.js Threaded mode~ 2018-01-05 21:16:43 -08:00
link_header.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
load_polyfills.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
main.js bug fix (tootsuite pr #6120) 2017-12-31 08:26:50 -06:00
optional_motion.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
performance.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
react_helpers.js WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
react_router_helpers.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
ready.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
reduced_motion.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
redux_helpers.js WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
rtl.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
schedule_idle_task.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
scroll.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
settings.js web push updates (tootsuite PRs #5879, #5941, #6047) 2017-12-30 11:45:01 -06:00
stream.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
url_regex.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
uuid.js Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00