Sha256: c01d3264ba22e4faa5f7f96e0fdfb38ed34aa7d5c63cc915098ca44ef5fc427c

Contents?: true

Size: 1.55 KB

Versions: 1

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=6dea7159443e46adc447fc7e90ed92fe3922d39e823bd444664aa6f7efa41ec2: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"%k@Ll)aּ3Z=5h4:idI"E6dea7159443e46adc447fc7e90ed92fe3922d39e823bd444664aa6f7efa41ec2;F:
mtimel+.CV

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loco-rails-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/1-ULtfjrVdLaHpfquDodMb9ZDK06t94py3_SemHGjdU.cache