test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f in pulitzer-0.1.5 vs test/dummy/tmp/cache/assets/development/sprockets/601e3c26fcff55e598da1439874b725f in pulitzer-0.1.6

- old
+ new

@@ -1,23 +1,29 @@ {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+š×[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 +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 }); } }); @@ -26,15 +32,16 @@ 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 + 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"%5b20ee1ad999a9ec124e200e54c6671c;FI" _version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F +;TI"required_assets_digest;TI"%b24433e106eae89d7b6d1e72bce4bc67;FI" _version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F \ No newline at end of file