From f6f1eb1bca8209714a24b997c720fb27a9f15b86 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Feb 2017 16:52:14 +0900 Subject: :v: --- src/web/app/common/scripts/is-promise.js | 1 + src/web/app/common/scripts/is-promise.ls | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 src/web/app/common/scripts/is-promise.js delete mode 100644 src/web/app/common/scripts/is-promise.ls (limited to 'src/web/app/common/scripts') 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 -- cgit v1.2.3-freya