summaryrefslogtreecommitdiff
path: root/www/lib/localforage/src/utils/executeCallback.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/executeCallback.js
parente7e7baeaad90229ccb3e0f45f4ebd77be7d79b14 (diff)
removed lib
Diffstat (limited to 'www/lib/localforage/src/utils/executeCallback.js')
-rw-r--r--www/lib/localforage/src/utils/executeCallback.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/www/lib/localforage/src/utils/executeCallback.js b/www/lib/localforage/src/utils/executeCallback.js
deleted file mode 100644
index c6982d4a..00000000
--- a/www/lib/localforage/src/utils/executeCallback.js
+++ /dev/null
@@ -1,11 +0,0 @@
-function executeCallback(promise, callback) {
- if (callback) {
- promise.then(function(result) {
- callback(null, result);
- }, function(error) {
- callback(error);
- });
- }
-}
-
-export default executeCallback;