Sha256: 8c036009edc4e24ea2a10a95c5e8fef3297344474c4460396c9275707b0530e8

Contents?: true

Size: 1.27 KB

Versions: 4

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"%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"dependency_digest;TI"%95096833b60ae93d166226007cf6d77c;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-16T22:51:32+02:00;TI"digest;TI"%c0dd50e9ba628ce6630dd1e1ae4d90dd;FI"
_version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/36e5b3d779b93cb69f60386bbc521bc0
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/e7c2a37a322afa44ecd67fccbeffd209
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/36e5b3d779b93cb69f60386bbc521bc0
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/e7c2a37a322afa44ecd67fccbeffd209