Sha256: 44716be16d5d0d7480a99c68f416a5d70030c5ca20d30f6a2307d03acb4a7145
Contents?: true
Size: 1.94 KB
Versions: 4
Compression:
Stored size: 1.94 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"admin/preview.js; FI" pathname; TI"~/Users/brittanymartin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/trusty-cms-2.0.26/app/assets/javascripts/admin/preview.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+áµXI"length; Ti6I"digest; TI"%8ea2c56036e246927949195d9459a1da; FI"source; TI"6(function(Preview, $) { Preview.showPreview = function(form){ var oldTarget = form.target; var oldAction = form.action; var $previewer = $('#preview_panel'); var $preview_tools = $previewer.find('.preview_tools'); var $frame = $('#page-preview'); $(window).scrollTop(0); $previewer.show(); $preview_tools.css('opacity', 1); $('body').addClass('clipped'); form.target = $frame.attr('id'); form.action = relative_url_root + '/admin/preview'; form.submit(); form.target = oldTarget; form.action = oldAction; } }(window.Preview = window.Preview || {}, jQuery)); $(function () { $('#show-preview').on('click', function(event){ event.preventDefault(); Preview.showPreview(this.form); }); $('.preview_tools a.cancel').on('click', function(event){ event.preventDefault(); $('#preview_panel').hide(); $('body').removeClass('clipped'); $('#page-preview').attr('src', ''); }); $('iframe').on('load', function(event){ $('#preview_panel .preview_tools').css('opacity', null); }); }); ; TI"dependency_digest; TI"%db16ec7e65b8d3abc13f15e523e53bf2; FI"required_paths; T[I"~/Users/brittanymartin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/trusty-cms-2.0.26/app/assets/javascripts/admin/preview.js; FI"dependency_paths; T[{I" path; TI"~/Users/brittanymartin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/trusty-cms-2.0.26/app/assets/javascripts/admin/preview.js; F@I"2017-02-28T15:43:45-05:00; T@I"%8ea2c56036e246927949195d9459a1da; FI" _version; TI"%5dbb392182285b4042e11c847d2199ba; F
Version data entries
4 entries across 2 versions & 1 rubygems