Add self defined timeout function like setTimeout but with inverted arguments.
parent
a075d0048c
commit
7d77a6c9b5
|
@ -57,9 +57,14 @@ groupBy = (coll, pred) ->
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
timeout = (wait, continuation) ->
|
||||||
|
return window.setTimeout(continuation, wait)
|
||||||
|
|
||||||
taiga = @.taiga
|
taiga = @.taiga
|
||||||
taiga.bindOnce = bindOnce
|
taiga.bindOnce = bindOnce
|
||||||
taiga.mixOf = mixOf
|
taiga.mixOf = mixOf
|
||||||
taiga.trim = trim
|
taiga.trim = trim
|
||||||
taiga.toggleText = toggleText
|
taiga.toggleText = toggleText
|
||||||
taiga.groupBy = groupBy
|
taiga.groupBy = groupBy
|
||||||
|
taiga.timeout = timeout
|
||||||
|
|
Loading…
Reference in New Issue