-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yusef Almamari
committed
May 2, 2024
1 parent
e402b2c
commit 1e72358
Showing
23 changed files
with
73 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"files": { | ||
"main.css": "/citeease/static/css/main.53e40acc.css", | ||
"main.js": "/citeease/static/js/main.9f663177.js", | ||
"main.css": "/citeease/static/css/main.1fe0c195.css", | ||
"main.js": "/citeease/static/js/main.0fa6b5ab.js", | ||
"index.html": "/citeease/index.html", | ||
"main.53e40acc.css.map": "/citeease/static/css/main.53e40acc.css.map", | ||
"main.9f663177.js.map": "/citeease/static/js/main.9f663177.js.map" | ||
"main.1fe0c195.css.map": "/citeease/static/css/main.1fe0c195.css.map", | ||
"main.0fa6b5ab.js.map": "/citeease/static/js/main.0fa6b5ab.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.53e40acc.css", | ||
"static/js/main.9f663177.js" | ||
"static/css/main.1fe0c195.css", | ||
"static/js/main.0fa6b5ab.js" | ||
] | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="Explore CiteEase, the open-source Progressive Web App (PWA) designed for effortless citation management. Enjoy a completely free and user-friendly experience, packed with a multitude of features to enhance your citation process. Simplify your academic or professional writing with CiteEase."/><meta name="theme-color" content="#ffd60a"/><title>CiteEase</title><link rel="canonical" href="https://discontinuedlabs.github.io/citeease/"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css?family=Material+Icons+Round" rel="stylesheet"/><link href="https://fonts.googleapis.com/css2?family=Cambo&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"/><link rel="manifest" href="/citeease/manifest.json"/><link rel="apple-touch-icon" sizes="180x180" href="/citeease/images/favicons/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/citeease/images/favicons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/citeease/images/favicons/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ffd60a"/><script defer="defer" src="/citeease/static/js/main.9f663177.js"></script><link href="/citeease/static/css/main.53e40acc.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="canonical" href="https://discontinuedlabs.github.io/citeease/"/><meta name="description" content="Effortlessly manage citations with CiteEase, the free, open-source Progressive Web App (PWA). Supercharge your academic or professional writing with a user-friendly interface and powerful features."/><title>CiteEase: Simplify Your Research Workflow</title><link rel="manifest" href="/citeease/manifest.json"/><link rel="apple-touch-icon" sizes="180x180" href="/citeease/images/favicons/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/citeease/images/favicons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/citeease/images/favicons/favicon-16x16.png"/><meta name="theme-color" content="#ffffff"/><link rel="canonical" href="https://discontinuedlabs.github.io/citeease/"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css?family=Material+Icons+Round" rel="stylesheet"/><link href="https://fonts.googleapis.com/css2?family=Cambo&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"/><script defer="defer" src="/citeease/static/js/main.0fa6b5ab.js"></script><link href="/citeease/static/css/main.1fe0c195.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>navigator.serviceWorker&&navigator.serviceWorker.register("/citeease/service-worker.js",{scope:"/citeease/"})</script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,61 @@ | ||
var APP_PREFIX = 'CiteEase_' // Identifier for this app (this needs to be consistent across every cache update) | ||
var VERSION = 'version_01' // Version of the off-line cache (change this value everytime you want to update cache) | ||
var CACHE_NAME = APP_PREFIX + VERSION | ||
var URLS = [ // Add URL you want to cache in this list. | ||
'/citeease/', // If you have separate JS/CSS files, | ||
'/citeease/index.html', // add path to those files here | ||
"/citeease/static/js/main.chunk.js", | ||
"/citeease/static/js/0.chunk.js", | ||
"/citeease/static/js/bundle.js", | ||
] | ||
var APP_PREFIX = "citeease-"; | ||
var VERSION = "v1"; | ||
var CACHE_NAME = APP_PREFIX + VERSION; | ||
var URLS = ["/citeease/", "/citeease/index.html", "/citeease/static/js/bundle.js", "/citeease/manifest.json"]; | ||
|
||
var self = this; | ||
|
||
// Respond with cached resources | ||
self.addEventListener('fetch', function (e) { | ||
console.log('fetch request : ' + e.request.url) | ||
e.respondWith( | ||
caches.match(e.request).then(function (request) { | ||
if (request) { // if cache is available, respond with cache | ||
console.log('responding with cache : ' + e.request.url) | ||
return request | ||
} else { // if there are no cache, try fetching request | ||
console.log('file is not cached, fetching : ' + e.request.url) | ||
return fetch(e.request) | ||
} | ||
self.addEventListener("fetch", function (event) { | ||
console.log("fetch request : " + event.request.url); | ||
event.respondWith( | ||
caches.match(event.request).then(function (request) { | ||
if (request) { | ||
// if cache is available, respond with cache | ||
console.log("responding with cache : " + event.request.url); | ||
return request; | ||
} else { | ||
// if there are no cache, try fetching request | ||
console.log("file is not cached, fetching : " + event.request.url); | ||
return fetch(event.request); | ||
} | ||
|
||
// You can omit if/else for console.log & put one line below like this too. | ||
// return request || fetch(e.request) | ||
}) | ||
) | ||
}) | ||
// You can omit if/else for console.log & put one line below like this too. | ||
// return request || fetch(e.request) | ||
}) | ||
); | ||
}); | ||
|
||
// Cache resources | ||
self.addEventListener('install', function (e) { | ||
e.waitUntil( | ||
caches.open(CACHE_NAME).then(function (cache) { | ||
console.log('installing cache : ' + CACHE_NAME) | ||
return cache.addAll(URLS) | ||
}) | ||
) | ||
}) | ||
self.addEventListener("install", function (event) { | ||
event.waitUntil( | ||
caches.open(CACHE_NAME).then(function (cache) { | ||
console.log("installing cache : " + CACHE_NAME); | ||
return cache.addAll(URLS); | ||
}) | ||
); | ||
}); | ||
|
||
// Delete outdated caches | ||
self.addEventListener('activate', function (e) { | ||
e.waitUntil( | ||
caches.keys().then(function (keyList) { | ||
// `keyList` contains all cache names under your username.github.io | ||
// filter out ones that has this app prefix to create white list | ||
var cacheWhitelist = keyList.filter(function (key) { | ||
return key.indexOf(APP_PREFIX) | ||
}) | ||
// add current cache name to white list | ||
cacheWhitelist.push(CACHE_NAME) | ||
self.addEventListener("activate", function (event) { | ||
event.waitUntil( | ||
caches.keys().then(function (keyList) { | ||
// `keyList` contains all cache names under your username.github.io | ||
// filter out ones that has this app prefix to create white list | ||
var cacheWhitelist = keyList.filter(function (key) { | ||
return key.indexOf(APP_PREFIX); | ||
}); | ||
// add current cache name to white list | ||
cacheWhitelist.push(CACHE_NAME); | ||
|
||
return Promise.all(keyList.map(function (key, i) { | ||
if (cacheWhitelist.indexOf(key) === -1) { | ||
console.log('deleting cache : ' + keyList[i] ) | ||
return caches.delete(keyList[i]) | ||
} | ||
})) | ||
}) | ||
) | ||
}) | ||
return Promise.all( | ||
keyList.map(function (key, index) { | ||
if (cacheWhitelist.indexOf(key) === -1) { | ||
console.log("deleting cache : " + keyList[index]); | ||
return caches.delete(keyList[index]); | ||
} | ||
}) | ||
); | ||
}) | ||
); | ||
}); |
Oops, something went wrong.