Sha256: 0be79abd9ffe73810c8b24d57a00e1db14c07b782abd2b718c3f9e73d1e9b72b

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI".hyper_admin/angularjs/filters/truncate.js;FI"
pathname;TI"p/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/filters/truncate.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+{+TI"length;Ti”I"digest;TI"%12fdeaacdc5833dd469d1780d157770b;FI"source;TI"”(function() {
  angular.module("hyperadmin").filter("truncate", function() {
    return function(input, limit) {
      var result;
      if (limit == null) {
        limit = 30;
      }
      if (!input) {
        return '';
      }
      if (!(input.length > limit)) {
        return input;
      }
      result = input.substring(0, limit - 1);
      return result + "…";
    };
  });

}).call(this);
;TI"dependency_digest;TI"%2d30648da543ef038a4709144de85ece;FI"required_paths;T[I"p/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/filters/truncate.js.coffee;FI"dependency_paths;T[{I"	path;TI"p/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/filters/truncate.js.coffee;FI"
mtime;TI"2014-09-18T20:59:07+02:00;TI"digest;TI"%df4aa013dbfff48d2cc547d0a005719c;FI"
_version;TI"%6584930913c75ff69ba506e1cfbae2c9;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.4.0 spec/dummy/tmp/cache/assets/development/sprockets/36e5b3d779b93cb69f60386bbc521bc0
hyper_admin-0.3.0 spec/dummy/tmp/cache/assets/development/sprockets/36e5b3d779b93cb69f60386bbc521bc0