Sha256: e0d714ae295e9d2bc4c695386a5cd796713d063f4756009142f2be7658da58b8

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

{I"
class:ETI"ProcessedAsset;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+š×[VI"length;TiI"digest;TI"%f02b468d13a2e574d803a0e15611c587;FI"source;TI"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
  }
}

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],
      parserRules:  wysihtml5ParserRules
    });
  }
})

$(document).ready(function(){
  window.any_time_manager.registerList([ 'select2-trigger', 'rich-text-editor' ]);
  window.any_time_manager.load();
});
;TI"dependency_digest;TI"%5b20ee1ad999a9ec124e200e54c6671c;FI"required_paths;T[I"M/Users/gomayonqui/Sites/work/pulitzer/app/assets/javascripts/pulitzer.js;FI"dependency_paths;T[{I"	path;TI"M/Users/gomayonqui/Sites/work/pulitzer/app/assets/javascripts/pulitzer.js;F@I"2015-11-29T23:59:06-05:00;T@I"%f02b468d13a2e574d803a0e15611c587;FI"
_version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.1.5 test/dummy/tmp/cache/assets/development/sprockets/700b3bc0188bbe9749b9c4c460358c71