Sha256: f16114ed04410776c1cc6b43a3c89fde5697e2a4c43c655034cb13b63168b6e4
Contents?: true
Size: 698 Bytes
Versions: 14
Compression:
Stored size: 698 Bytes
Contents
/* // Custom JS | written by https://github.com/wdzajicek // © 2020 Kankakee Community College // =================================================== */ import start from './campusAlertsSheetsAPI.js'; import getCachedResponse from './getCachedResponse.js'; import checkForPrefersReducedMotion from './checkForPrefersReducedMotion.js'; function alerts() { checkForPrefersReducedMotion(); ! window.sessionStorage.getItem('Alert-Content') ? // Checks if our cached alert is already in sessionStorage gapi.load('client', start) // If not, build the alert from a new Google API response : getCachedResponse(); // Otherwise, build the alert from our cached response } export default alerts;
Version data entries
14 entries across 14 versions & 1 rubygems