Sha256: 5cebc3970e3e30d77874a7a7aed3c8549d7216ac195055c741de7ce8c45e5064
Contents?: true
Size: 545 Bytes
Versions: 2
Compression:
Stored size: 545 Bytes
Contents
(function(window, document) { window.AA = (window.AA || {}) var config = window.AA.editor = (window.AA.editor || {}) <% %w(aws_access_key_id s3_bucket storage_dir).each do |option| %> config.<%= option %> = '<%= ActiveAdmin::Editor.configuration.send(option.to_sym) %>' <% end %> config.stylesheets = '<%= asset_path 'active_admin/editor/wysiwyg.css' %>' config.spinner = '<%= asset_path 'active_admin/editor/loader.gif' %>' config.uploads_enabled = <%= ActiveAdmin::Editor.configuration.s3_configured? %> })(window, document)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_admin_editor-1.0.4 | app/assets/javascripts/active_admin/editor/config.js.erb |
active_admin_editor-1.0.3 | app/assets/javascripts/active_admin/editor/config.js.erb |