Sha256: ae5ced2f03c6afd383515b8f905ebcc6491a76939dcb65747266cf98f01b2a0e

Contents?: true

Size: 916 Bytes

Versions: 2

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"%a5d521e7649a9fe724889f4e4d773904;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"%95096833b60ae93d166226007cf6d77c;FI"
_version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/ebf7e75ff6dd6735ef46a63b0da89668
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/ebf7e75ff6dd6735ef46a63b0da89668