summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-18 16:52:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-18 16:52:14 +0900
commitf6f1eb1bca8209714a24b997c720fb27a9f15b86 (patch)
treed8c0d2db79ef9b8ad3140073b61ea5af0f84a10a /src/web/app/common/scripts
parent:v: (diff)
downloadsharkey-f6f1eb1bca8209714a24b997c720fb27a9f15b86.tar.gz
sharkey-f6f1eb1bca8209714a24b997c720fb27a9f15b86.tar.bz2
sharkey-f6f1eb1bca8209714a24b997c720fb27a9f15b86.zip
:v:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/is-promise.js1
-rw-r--r--src/web/app/common/scripts/is-promise.ls1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/is-promise.js b/src/web/app/common/scripts/is-promise.js
new file mode 100644
index 0000000000..fd3dc42da3
--- /dev/null
+++ b/src/web/app/common/scripts/is-promise.js
@@ -0,0 +1 @@
+module.exports = x => typeof x.then == 'function';
diff --git a/src/web/app/common/scripts/is-promise.ls b/src/web/app/common/scripts/is-promise.ls
deleted file mode 100644
index e3c7adff85..0000000000
--- a/src/web/app/common/scripts/is-promise.ls
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = (x) -> typeof x.then == \function