o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1388437012.917801:@value"î7{I"
class:EFI"BundledAsset; 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/gems/mercury-rails-0.9.0/app/assets/javascripts/mercury/page_editor.js.coffee; FI"content_type; FI"application/javascript; FI"
mtime; FI"2013-12-30T11:31:51-05:00; FI"length; FiÕ5I"digest; F"%1b4d4f04f9e0291b87be5f31f5d94228I"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('