From dce68b9707f1c0a04d828dac549666c70583e624 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Sun, 12 Jan 2020 22:28:18 +1300 Subject: [PATCH] Delete avc --- src/site/html/static/js/templates/avc/.gitrepo | 12 ------------ src/site/html/static/js/templates/avc/avc.js | 14 -------------- 2 files changed, 26 deletions(-) delete mode 100644 src/site/html/static/js/templates/avc/.gitrepo delete mode 100644 src/site/html/static/js/templates/avc/avc.js diff --git a/src/site/html/static/js/templates/avc/.gitrepo b/src/site/html/static/js/templates/avc/.gitrepo deleted file mode 100644 index cf738e7..0000000 --- a/src/site/html/static/js/templates/avc/.gitrepo +++ /dev/null @@ -1,12 +0,0 @@ -; DO NOT EDIT (unless you know what you are doing) -; -; This subdirectory is a git "subrepo", and this file is maintained by the -; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme -; -[subrepo] - remote = /home/cloud/Code/pinski-plugins/avc - branch = master - commit = 257d397349f09eae1f5da27b78f4d93993ea5497 - parent = eb818bf63d0c8389c9997bf9735a75fec023c1c2 - method = merge - cmdver = 0.4.0 diff --git a/src/site/html/static/js/templates/avc/avc.js b/src/site/html/static/js/templates/avc/avc.js deleted file mode 100644 index e74f433..0000000 --- a/src/site/html/static/js/templates/avc/avc.js +++ /dev/null @@ -1,14 +0,0 @@ -class AsyncValueCache { - constructor(fetchNow, callback) { - this.callback = callback - this.cachedPromise = null - if (fetchNow) this.fetch() - } - - fetch() { - if (this.cachedPromise) return this.cachedPromise - else return this.cachedPromise = this.callback() - } -} - -export {AsyncValueCache}