Sha256: c7c5bc0f4207688668105baf3c4807ba0713728bcec8d58470dc51dc057416b5
Contents?: true
Size: 598 Bytes
Versions: 35
Compression:
Stored size: 598 Bytes
Contents
/* // Custom JS | written by https://github.com/wdzajicek // © 2020 Kankakee Community College // =================================================== */ import start from './campusAlertsSheetsAPI.js'; import getCachedResponse from './getCachedResponse.js'; document.addEventListener('DOMContentLoaded', () => { ! 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 });
Version data entries
35 entries across 35 versions & 1 rubygems