(number, withoutSuffix, string, isFuture)
| 15187 | }; |
| 15188 | |
| 15189 | function relativeTime (number, withoutSuffix, string, isFuture) { |
| 15190 | var output = this._relativeTime[string]; |
| 15191 | return (isFunction(output)) ? |
| 15192 | output(number, withoutSuffix, string, isFuture) : |
| 15193 | output.replace(/%d/i, number); |
| 15194 | } |
| 15195 | |
| 15196 | function pastFuture (diff, output) { |
| 15197 | var format = this._relativeTime[diff > 0 ? 'future' : 'past']; |
nothing calls this directly
no test coverage detected