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
ajax.js
arrays.js
asyncModules.js
autosize.js
checkDomAncestors.js
classname.js
delegate.js Simplify click delegate implementation (#155) 2018-04-17 21:47:30 -07:00
doubleRAF.js
emojifyText.js
eventBus.js
events.js
fullscreen.js
handleRegex.js
historyEvents.js
isMobile.js
loadPolyfills.js
loadingMask.js
marks.js
measureText.js
once.js
reselect.js
resize.js
runMediumPriorityTask.js fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
scheduleIdleTask.js
serviceWorkerClient.js
setFavicon.js
smoothScrollToTop.js
sorting.js
strings.js
sync.js
themeEngine.js
toast.js
urlRegex.js