Sha256: 14a8cc3eb0375a593e29f5ff57fe1c442755cd39d7998f759a496edbf2a6480a

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

{:uriI"file:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/helpers/text.coffee?type=application/javascript&pipeline=self&id=9d21a902cde835745728335ad3d8c74148d4ca9253dd692dd7d145788047217f:ET:load_pathI"?/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts;T:
filenameI"X/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/helpers/text.coffee;T:	nameI"loco/helpers/text;T:logical_pathI"loco/helpers/text.self.js;T:content_typeI"application/javascript;T:sourceI"(function() {
  App.Helpers.Text = (function() {
    function Text(opts) {
      if (opts == null) {
        opts = {};
      }
    }

    Text.prototype.simpleFormat = function(str) {
      str = str.replace(/\r\n?/, "\n");
      str = $.trim(str);
      if (str.length > 0) {
        str = str.replace(/\n\n+/g, '</p><p>');
        str = str.replace(/\n/g, '<br>');
        str = '<p>' + str + '</p>';
      }
      return str;
    };

    return Text;

  })();

}).call(this);
;T:
metadata{:dependencieso:Set:
@hash}	I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"ffile-digest:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/helpers/text.coffee;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%({
Ϗɬ,gUSBWG9!:lengthi:dependencies_digest"%2q8}&W4|/N~YvǾv޴:idI"E9d21a902cde835745728335ad3d8c74148d4ca9253dd692dd7d145788047217f;F:
mtimel+.CV

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loco-rails-1.0.2 test/dummy/tmp/cache/assets/test/sprockets/v3.0/XFqK_hqtlUW7rAe-aYqrn0wFcwgzH0y93bplLyogV4c.cache
loco-rails-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/v3.0/XFqK_hqtlUW7rAe-aYqrn0wFcwgzH0y93bplLyogV4c.cache
loco-rails-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/v3.0/XFqK_hqtlUW7rAe-aYqrn0wFcwgzH0y93bplLyogV4c.cache