pinafore/routes/_utils
Nolan Lawson 23ccec45d0
fix notifications in a background tab (#402)
Part of the way to improving #390.

Before this fix, if you recieved a notification while Pinafore was in a background tab, nothing would happen, because most browsers (Edge, Firefox, Chrome) don't run rAF in background tabs. Furthermore, Chrome doesn't run rIC. In this PR we detect if we're in a background tab and then avoid rAF/rIC in that case.
2018-06-23 10:11:14 -07:00
..
RealmStore.js fix animations and cleanup store/component get() usage (#185) 2018-04-19 21:38:11 -07:00
ajax.js add more fine-grained request timeouts (#387) 2018-06-13 07:38:36 -07:00
arrays.js
asyncModules.js Remove PseudoVirtualList (#385) 2018-06-09 22:55:58 -07:00
autosize.js Fix scrollTop jiggle in Firefox (#94) 2018-04-12 19:58:18 -07:00
checkDomAncestors.js don't allow clicking through to status if click is on toolbar 2018-04-04 18:53:52 -07:00
classname.js faster classname function 2018-03-14 18:52:33 -07:00
delegate.js Simplify click delegate implementation (#155) 2018-04-17 21:47:30 -07:00
doubleRAF.js implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
emojifyText.js content warnings can have emoji (#122) 2018-04-14 15:50:06 -07:00
eventBus.js fix warning about max EventEmitter listeners (#100) 2018-04-13 09:46:38 -07:00
events.js slightly improve Svelte 2.0 compatibility (#244) 2018-04-29 22:13:41 -07:00
fullscreen.js
handleRegex.js correctly measure status length 2018-02-27 23:38:33 -08:00
historyEvents.js
isMobile.js fix caching logic 2018-03-23 08:16:46 -07:00
loadPolyfills.js add favorite/reblog animations 2018-03-21 09:38:20 -07:00
loadingMask.js
marks.js remove URLSearchParams 2018-03-09 00:08:23 -08:00
measureText.js correctly measure status length 2018-02-27 23:38:33 -08:00
once.js add username autocomplete feature 2018-03-24 18:04:54 -07:00
reselect.js use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
resize.js use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
runMediumPriorityTask.js fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
scheduleIdleTask.js fix requestIdleCallback in edge/safari (#198) 2018-04-21 00:33:36 -07:00
serviceWorkerClient.js change toast message 2018-03-14 23:17:47 -07:00
setFavicon.js fix bug where favicon changes incorrectly 2018-04-11 20:30:38 -07:00
smoothScrollToTop.js allow scroll-to-top to be canceled by a user scroll (#79) 2018-04-11 19:43:22 -07:00
sorting.js use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
strings.js
sync.js optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00
themeEngine.js
toast.js
urlRegex.js correctly measure status length 2018-02-27 23:38:33 -08:00