Sha256: dfeb358e6a0737489453407c97d94b707b383c9420ccd4d74f54e845b2556ab5
Contents?: true
Size: 508 Bytes
Versions: 246
Compression:
Stored size: 508 Bytes
Contents
/** * @ngdoc filter * @name Bastion.tasks.filter:taskInputCompile * * @description * Produces the shortest possible version of humanized input of a * task, used for list of recent user tasks. */ angular.module('Bastion.tasks') .filter('taskInputShort', function () { return function (humanizedTaskInput) { if (_.isString(humanizedTaskInput)) { return humanizedTaskInput; } return _.first(humanizedTaskInput, 1); }; });
Version data entries
246 entries across 246 versions & 1 rubygems