app/assets/javascripts/jquery.timeago.js
Function inWords
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
inWords: function(distanceMillis) {
if(!this.settings.allowPast && ! this.settings.allowFuture) {
throw 'timeago allowPast and allowFuture settings can not both be set to false.';
}