o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1388436944.204246:@value"ç9{I"
class:EFI"ProcessedAsset; FI"logical_path; FI"mercury/page_editor.js; FI"
pathname; FI"•/Users/jrissler/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/bundler/gems/mercury-6daffeeb487e/app/assets/javascripts/mercury/page_editor.js.coffee; FI"content_type; FI"application/javascript; FI"
mtime; FI"2013-11-20T08:09:45-05:00; FI"length; Fiö5I"digest; F"%e012b67fc2e10220ed5baa11ab883639I"source; FI"ö5(function() {
this.Mercury.PageEditor = (function() {
function PageEditor(saveUrl, options) {
var token;
this.saveUrl = saveUrl != null ? saveUrl : null;
this.options = options != null ? options : {};
if (window.mercuryInstance) {
throw Mercury.I18n('Mercury.PageEditor can only be instantiated once.');
}
if (!(this.options.visible === false || this.options.visible === 'false')) {
this.options.visible = true;
}
this.visible = this.options.visible;
if (!(this.options.saveDataType === false || this.options.saveDataType)) {
this.options.saveDataType = 'json';
}
window.mercuryInstance = this;
this.regions = [];
this.initializeInterface();
if (token = jQuery(Mercury.config.csrfSelector).attr('content')) {
Mercury.csrfToken = token;
}
}
PageEditor.prototype.initializeInterface = function() {
var _ref, _ref1,
_this = this;
this.focusableElement = jQuery('', {
"class": 'mercury-focusable',
type: 'text'
}).appendTo((_ref = this.options.appendTo) != null ? _ref : 'body');
this.iframe = jQuery('