mastodon/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
api.js
async-components.js WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
base_polyfills.js
bio_metadata.js
counter.js
dom_helpers.js
extra_polyfills.js
fullscreen.js
get_rect_from_entry.js
initial_state.js When pulling out max_toot_chars, handle nulls 2018-01-08 09:45:59 -06:00
intersection_observer_wrapper.js
is_mobile.js
js_helpers.js
link_header.js
load_polyfills.js
main.js
optional_motion.js
performance.js
react_helpers.js
react_router_helpers.js
ready.js
reduced_motion.js
redux_helpers.js
rtl.js
schedule_idle_task.js
scroll.js
settings.js
stream.js
url_regex.js
uuid.js