o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1371506033.977251: @value"Î {I" class:ETI"ProcessedAsset;FI"logical_path;TI""flms/admin/pages/edit/edit.js;FI" pathname;TI"Y/Users/maxwell/Desktop/flms/app/assets/javascripts/flms/admin/pages/edit/edit.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-06-17T14:53:37-07:00;TI" length;TiˆI" digest;TI"%3114cb95142d50e37a2ebffbb483194e;FI" source;TI"ˆ(function() { var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; this.PageEditPage = (function(_super) { __extends(PageEditPage, _super); function PageEditPage() { this.sorting_finished = __bind(this.sorting_finished, this); this.save_button_clicked = __bind(this.save_button_clicked, this); this.active_switch_changed = __bind(this.active_switch_changed, this); PageEditPage.__super__.constructor.call(this, 'body'); this.block_list = new BlockList(this.$('.block_list')); this.block_list.on('sorting_finished', this.sorting_finished); this.save_button = this.$('#save'); this.save_button.click(this.save_button_clicked); this.$('.switch').on('switch-change', this.active_switch_changed); } PageEditPage.prototype.active_switch_changed = function() { return this.save_button.fadeIn(); }; PageEditPage.prototype.save_button_clicked = function() { return this.save_changes_to_server(); }; PageEditPage.prototype.save_changes_to_server = function() { var _this = this; return $.ajax({ url: document.url, method: 'PUT', contentType: 'application/json', data: JSON.stringify({ block_data: this.block_list.get_data() }), success: function() { return _this.save_button.fadeOut(); } }); }; PageEditPage.prototype.sorting_finished = function() { return this.save_button.fadeIn(); }; return PageEditPage; })(modularity.Module); }).call(this); ;TI"dependency_digest;TI"%e43bca3eefca7b5fa525048401e7e92e;FI"required_paths;T[I"Y/Users/maxwell/Desktop/flms/app/assets/javascripts/flms/admin/pages/edit/edit.coffee;FI"dependency_paths;T[{I" path;TI"Y/Users/maxwell/Desktop/flms/app/assets/javascripts/flms/admin/pages/edit/edit.coffee;FI" mtime;TI"2013-06-17T14:53:37-07:00;TI" digest;TI"%6728a6e9ed30d81ee0c2e5202c187072;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F