summaryrefslogtreecommitdiff
path: root/www/lib/localforage/src/utils/executeTwoCallbacks.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-27 12:42:48 -0400
commit210e8feae2fb4842bfb2de38666e6c41671fef3c (patch)
treecbdafa34b1a6260bb20236d7e9de9eb1b690a1c5 /www/lib/localforage/src/utils/executeTwoCallbacks.js
parente7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff)
removed lib
Diffstat (limited to 'www/lib/localforage/src/utils/executeTwoCallbacks.js')
-rw-r--r--www/lib/localforage/src/utils/executeTwoCallbacks.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/www/lib/localforage/src/utils/executeTwoCallbacks.js b/www/lib/localforage/src/utils/executeTwoCallbacks.js
deleted file mode 100644
index f98c7585..00000000
--- a/www/lib/localforage/src/utils/executeTwoCallbacks.js
+++ /dev/null
@@ -1,11 +0,0 @@
-function executeTwoCallbacks(promise, callback, errorCallback) {
- if (typeof callback === 'function') {
- promise.then(callback);
- }
-
- if (typeof errorCallback === 'function') {
- promise.catch(errorCallback);
- }
-}
-
-export default executeTwoCallbacks;