12 lines
198 B
CoffeeScript
12 lines
198 B
CoffeeScript
@after = (time, func) ->
|
|
waits(time)
|
|
jasmine.getEnv().currentSpec.runs(func)
|
|
|
|
@once = (condition, func) ->
|
|
waitsFor(condition)
|
|
jasmine.getEnv().currentSpec.runs(func)
|
|
|
|
@waitFor = waitsFor
|
|
|
|
|