about summary refs log tree commit diff
path: root/app/javascript/glitch/reducers
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-07-14 11:13:02 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-07-16 17:13:16 -0700
commitd0aad1ac854eaa53f9b7d38cc8dd90e289790629 (patch)
tree492c5fbc81bfb6dee10017814afb14d5ef549f27 /app/javascript/glitch/reducers
parent21b04af524888fea134cc7dfa04e1203ede0427a (diff)
Documentation and cleanup
Diffstat (limited to 'app/javascript/glitch/reducers')
-rw-r--r--app/javascript/glitch/reducers/local_settings.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/javascript/glitch/reducers/local_settings.js b/app/javascript/glitch/reducers/local_settings.js
index 776dcead7..35a8e065b 100644
--- a/app/javascript/glitch/reducers/local_settings.js
+++ b/app/javascript/glitch/reducers/local_settings.js
@@ -18,12 +18,12 @@ associated actions are:
 
 */
 
-                            /* * * * */
+//  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
 /*
 
-Imports
--------
+Imports:
+--------
 
 */
 
@@ -36,12 +36,12 @@ import { STORE_HYDRATE } from '../../mastodon/actions/store';
 //  Our imports  //
 import { LOCAL_SETTING_CHANGE } from '../actions/local_settings';
 
-                            /* * * * */
+//  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
 /*
 
-initialState
-------------
+initialState:
+-------------
 
 You can see the default values for all of our local settings here.
 These are only used if no previously-saved values exist.
@@ -71,12 +71,12 @@ const initialState = ImmutableMap({
   }),
 });
 
-                            /* * * * */
+//  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
 /*
 
-Helper functions
-----------------
+Helper functions:
+-----------------
 
 ###  `hydrate(state, localSettings)`
 
@@ -89,12 +89,12 @@ from `localStorage`.
 
 const hydrate = (state, localSettings) => state.mergeDeep(localSettings);
 
-                            /* * * * */
+//  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
 /*
 
-`localSettings(state = initialState, action)`
----------------------------------------------
+`localSettings(state = initialState, action)`:
+----------------------------------------------
 
 This function holds our actual reducer.