Sha256: 724dc639d71077e84b451c6b8d2f18ea0585187433326bd455f9714d8a858ee2

Contents?: true

Size: 916 Bytes

Versions: 4

Compression:

Stored size: 916 Bytes

Contents

{I"
class:ETI"BundledAsset;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"required_assets_digest;TI"%2d30648da543ef038a4709144de85ece;FI"
_version;TI"%6584930913c75ff69ba506e1cfbae2c9;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.4.0 spec/dummy/tmp/cache/assets/development/sprockets/e7c2a37a322afa44ecd67fccbeffd209
hyper_admin-0.4.0 spec/dummy/tmp/cache/assets/development/sprockets/ebf7e75ff6dd6735ef46a63b0da89668
hyper_admin-0.3.0 spec/dummy/tmp/cache/assets/development/sprockets/e7c2a37a322afa44ecd67fccbeffd209
hyper_admin-0.3.0 spec/dummy/tmp/cache/assets/development/sprockets/ebf7e75ff6dd6735ef46a63b0da89668