o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384093244.174437: @value"” {I" class:ETI"ProcessedAsset;FI"logical_path;TI"3locomotive/views/content_entries/index_view.js;FI" pathname;TI"~/Users/didier/Documents/LocomotiveCMS/engine/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-06-19T14:24:51+02:00;TI" length;TiÎI" digest;TI"%1a21d60955c48ddb6a5c53bf2e1e2580;FI" source;TI"Î(function() { var _base, _ref, __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; }; (_base = Locomotive.Views).ContentEntries || (_base.ContentEntries = {}); Locomotive.Views.ContentEntries.IndexView = (function(_super) { __extends(IndexView, _super); function IndexView() { _ref = IndexView.__super__.constructor.apply(this, arguments); return _ref; } IndexView.prototype.el = '#content'; IndexView.prototype.render = function() { this.make_sortable(); return this; }; IndexView.prototype.make_sortable = function() { var self; self = this; return this.$('ul#entries-list.sortable').sortable({ handle: 'span.handle', items: 'li.item', axis: 'y', update: function(event, ui) { return self.call_sort($(this)); } }); }; IndexView.prototype.call_sort = function(folder) { return $.rails.ajax({ url: folder.data('url'), type: 'post', dataType: 'json', data: { entries: _.map(folder.sortable('toArray'), function(el) { return el.replace('entry-', ''); }), _method: 'put' }, success: this.on_successful_sort, error: this.on_failed_sort }); }; IndexView.prototype.on_successful_sort = function(data, status, xhr) { return $.growl('success', decodeURIComponent($.parseJSON(xhr.getResponseHeader('X-Message')))); }; IndexView.prototype.on_failed_sort = function(data, status, xhr) { return $.growl('error', decodeURIComponent($.parseJSON(xhr.getResponseHeader('X-Message')))); }; return IndexView; })(Backbone.View); }).call(this); ;TI"dependency_digest;TI"%6a37837e1f98c905f75e74bcb4f963f8;FI"required_paths;T[I"~/Users/didier/Documents/LocomotiveCMS/engine/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;FI"dependency_paths;T[{I" path;TI"~/Users/didier/Documents/LocomotiveCMS/engine/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;FI" mtime;TI"2013-06-19T14:24:51+02:00;TI" digest;TI"%a8d55a70fe746103c40349c5771aa968;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F