{I" class:ETI"BundledAsset;FI"logical_path;TI"storytime/editor.js;FI" pathname;TI"l/Users/ben/Documents/projects/benroesch.com/storytime/app/assets/javascripts/storytime/editor.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;Tl+PˆqSI" length;Ti¥I" digest;TI"%e0ad9a15df8d2996f03efe120b0bb514;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(); $(document).on('shown.bs.modal', function() { return mediaInstance.initUpload(); }); return $(".wysiwyg").wysihtml5({ 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"required_assets_digest;TI"%cb177173e5665d32b4c0a33c719ff1c2;FI" _version;TI"%361c512b9086418778df946c0d278f91;F