Sha256: dc57ec241db760b72e17b10b67696efebf15aefa47a3d9afed2f79d459674c03

Contents?: true

Size: 1.55 KB

Versions: 4

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=089fd19e852f9ff22f21e52f872fb51d8d923a61ebd8715cec2ebf8724371f42: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;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%({
Ϗɬ,gUSBWG9!:lengthi:dependencies_digest"%W0}?)1xGye
!H6d:idI"E089fd19e852f9ff22f21e52f872fb51d8d923a61ebd8715cec2ebf8724371f42;F:
mtimel+.CV

Version data entries

4 entries across 4 versions & 1 rubygems

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