summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/api.ls
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-01 11:32:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-01 11:32:32 +0900
commit4a1674d43229c24c9584ba33cf5609746efef630 (patch)
tree65270ebcd225f70a041418cf663691ec4265867a /src/web/app/common/scripts/api.ls
parentRefactor: Improve readability (diff)
downloadsharkey-4a1674d43229c24c9584ba33cf5609746efef630.tar.gz
sharkey-4a1674d43229c24c9584ba33cf5609746efef630.tar.bz2
sharkey-4a1674d43229c24c9584ba33cf5609746efef630.zip
Fix bug
Diffstat (limited to 'src/web/app/common/scripts/api.ls')
-rw-r--r--src/web/app/common/scripts/api.ls4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/web/app/common/scripts/api.ls b/src/web/app/common/scripts/api.ls
index 0656a56168..2292902a91 100644
--- a/src/web/app/common/scripts/api.ls
+++ b/src/web/app/common/scripts/api.ls
@@ -8,8 +8,6 @@ net = riot.observable!
riot.mixin \net do
net: net
-log = (riot.mixin \log).log
-
module.exports = (i, endpoint, data) ->
pending++
@@ -48,8 +46,6 @@ module.exports = (i, endpoint, data) ->
net.trigger \detected-slow-network
, 5000ms
- log "API: #{ep}"
-
fetch ep, opts
.then (res) ->
pending--