Sha256: 8a998aae3ac0c0436ad1d0b1d7e4f1ddb9c756486304c389b04bcce5bbdf4f4f

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"pulitzer.js;FI"
pathname;TI"M/Users/gomayonqui/Sites/work/pulitzer/app/assets/javascripts/pulitzer.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ÖY`VI"length;TiëI"digest;TI"%f1c378853a0ab18af2deaaa5eb5cd08a;FI"source;TI"ëif (typeof wysihtml5ParserRules === 'undefined') {
  var wysihtml5ParserRules = {
    classes: {
      "wysiwyg-color-gold": 1
    },
    tags: {
      "b": 1,
      "strong": { "rename_tag": "b" },
      "i": 1,
      "h1": 1,
      "p": 1,
      "span": 1,
      "ul": 1,
      "li": 1
    }
  }
}

if (typeof wysihtml5Stylesheets === 'undefined') {
  var wysihtml5Stylesheets = []
}

var Select2Trigger = Class.extend({
  init: function(jq_obj){
    jq_obj.select2({ tags: true });
  }
});

var RichTextEditor = Class.extend({
  init: function($textarea){
    self.$form = $textarea.parents("form");
    self.$toolbar = self.$form.find('[data-pulitzer-toolbar]');
    self.editor = new wysihtml5.Editor($textarea[0], {
      toolbar: self.$toolbar[0],
      stylesheets: wysihtml5Stylesheets,
      parserRules: wysihtml5ParserRules
    });
  }
})

$(document).ready(function(){
  window.any_time_manager.registerList([ 'select2-trigger', 'rich-text-editor' ]);
  window.any_time_manager.load();
});
;TI"required_assets_digest;TI"%b24433e106eae89d7b6d1e72bce4bc67;FI"
_version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
pulitzer-0.1.8 spec/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f
pulitzer-0.1.8 spec/dummy/tmp/cache/assets/development/sprockets/7e421fe55500d14fa74f3bbc39bbda91
pulitzer-0.1.7 test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f
pulitzer-0.1.7 test/dummy/tmp/cache/assets/development/sprockets/7e421fe55500d14fa74f3bbc39bbda91
pulitzer-0.1.6 test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f
pulitzer-0.1.6 test/dummy/tmp/cache/assets/development/sprockets/7e421fe55500d14fa74f3bbc39bbda91