1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 07:11:47 +09:00
This commit is contained in:
syuilo 2017-01-01 11:32:32 +09:00
parent 7c91da6183
commit 4a1674d432

View File

@ -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--