• Gergely Ujvari's avatar
    Break timeHelpers into smaller functions · 5b4b844c
    Gergely Ujvari authored
    Code from @nickstenning, introduce the breakpoints array and search
    in it for the needed fuzzystring and when to update next instead of
    a complex else-if tree.
    
    timeHelpers service has two functions:
    - toFuzzyString: returns the fuzzy time string
    - nextFuzzyUpdate: returns the next time to update (in sec)
    5b4b844c
Name
Last commit
Last update
..
auth Loading commit data...
directives Loading commit data...
helpers Loading commit data...
plugin Loading commit data...
session Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
app.coffee Loading commit data...
controllers.coffee Loading commit data...
directives.coffee Loading commit data...
filters.coffee Loading commit data...
guest.coffee Loading commit data...
host.coffee Loading commit data...
identity-service.coffee Loading commit data...
searchfilters.coffee Loading commit data...
services.coffee Loading commit data...
socket.coffee Loading commit data...
streamsearch.coffee Loading commit data...