{I" class:ETI"ProcessedAsset;FI"logical_path;TI"storytime/editor.js;FI" pathname;TI"\/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/editor.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;Tl+–?éSI" length;Ti&I" digest;TI"%e0cecc12b2a86050e901ed46fc772060;FI" source;TI"&(function() { Storytime.Dashboard.Editor = (function() { function Editor() {} Editor.prototype.init = function() { var mediaInstance; mediaInstance = new Storytime.Dashboard.Media(); mediaInstance.initPagination(); mediaInstance.initInsert(); mediaInstance.initFeaturedImageSelector(); $(document).on('shown.bs.modal', function() { return mediaInstance.initUpload(); }); return $(".wysiwyg").wysihtml5("deepExtend", { parserRules: { allowAllClasses: true }, html: true, color: true, customTemplates: { "html": function(locale, options) { var size; size = options && options.size ? ' btn-' + options.size : ''; return "
  • " + "
    " + "  Raw HTML Mode" + "
    " + "
  • "; }, "image": function(locale, options) { var $modal, size; size = options && options.size ? ' btn-' + options.size : ''; $modal = $("#insertMediaModal").remove(); return "
  • " + $modal[0].outerHTML + "" + "
  • "; } } }); }; return Editor; })(); }).call(this); ;TI"dependency_digest;TI"%c7e6a0c5bd9df339d969df125eb28585;FI"required_paths;T[I"\/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/editor.js.coffee;FI"dependency_paths;T[{I" path;TI"\/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/editor.js.coffee;FI" mtime;TI"2014-08-11T17:11:34-05:00;TI" digest;TI"%361518a3ef4fcf00cde79c7ac2a8a125;FI" _version;TI"%361c512b9086418778df946c0d278f91;F