o: ActiveSupport::Cache::Entry :@compressedF: @value"J {I" class:EFI"ProcessedAsset;FI"logical_path;FI"flms/blocks/index/index.js;TI" pathname;FI"L/Users/kevin/flms/app/assets/javascripts/flms/blocks/index/index.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-03-07T17:10:37-08:00;FI" length;FiBI" digest;F"%e660a828d1eae2ff88d389e6dd745c91I" source;FI"B(function() { var _this = this, __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.BlocksIndexPage = (function(_super) { __extends(BlocksIndexPage, _super); function BlocksIndexPage() { var _this = this; this.sorting_finished = function() { return BlocksIndexPage.prototype.sorting_finished.apply(_this, arguments); }; this.save_button_clicked = function() { return BlocksIndexPage.prototype.save_button_clicked.apply(_this, arguments); }; this.active_switch_changed = function() { return BlocksIndexPage.prototype.active_switch_changed.apply(_this, arguments); }; BlocksIndexPage.__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); } BlocksIndexPage.prototype.active_switch_changed = function() { return this.save_button.fadeIn(); }; BlocksIndexPage.prototype.save_button_clicked = function() { return this.save_changes_to_server(); }; BlocksIndexPage.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(); } }); }; BlocksIndexPage.prototype.sorting_finished = function() { return this.save_button.fadeIn(); }; return BlocksIndexPage; })(modularity.Module); }).call(this); ;TI"dependency_digest;F"%cdd8b09b1c26f8ca00f7d5e4cd997bf4I"required_paths;F[I"L/Users/kevin/flms/app/assets/javascripts/flms/blocks/index/index.coffee;TI"dependency_paths;F[{I" path;FI"L/Users/kevin/flms/app/assets/javascripts/flms/blocks/index/index.coffee;TI" mtime;FI"2013-03-07T17:10:37-08:00;FI" digest;F"%13989afd6591adb582f4bd48bcab1084I" _version;F"%6776f581a4329e299531e1d52aa59832:@created_atf1365527467.118418:@expires_in0