| Actions.mjs |
globalImportContext - Are we in UI code (i.e. react, a dom) or some kind of background process?
Use this in action creators if you need different logic
for ui/background processes.
|
17689 |
- |
| PageLayoutVariants.mjs |
Newtab page layout variants. "Page layout" is the arrangement of the whole
newtab page, not a DiscoveryStream layout (see SectionsLayoutFeed and
selectLayoutRender, which are unrelated).
The pref holds the layout's name rather than a set of feature booleans, so a
new layout is a new value here instead of a new pref, class prefix and metric.
The value is what newtab.page_layout_variant reports.
|
8861 |
- |
| Reducers.sys.mjs |
|
49426 |
- |
| StocksWatchlist.mjs |
Parse the widgets.stocks.watchlist pref (a comma-separated list of ticker
symbols) into a clean array: trimmed, upper-cased, empties dropped, duplicates
removed keeping first occurrence, capped at MAX_STOCKS_WATCHLIST.
@param {string} pref
@returns {string[]}
|
1688 |
- |
| WidgetsRegistry.mjs |
|
31979 |
- |