o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142253.912454: @value" {I" class:EFI"ProcessedAsset;FI"logical_path;FI"3locomotive/views/content_entries/index_view.js;TI" pathname;FI"/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-07T10:55:40+02:00;FI" length;FiI" digest;F"%81c6069dcd174ca74cfb03a874baa992I" source;FI"(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', xhr.getResponseHeader('X-Message')); }; IndexView.prototype.on_failed_sort = function(data, status, xhr) { return $.growl('error', xhr.getResponseHeader('X-Message')); }; return IndexView; })(Backbone.View); }).call(this); ;TI"dependency_digest;F"%717d866f1db417f2d522fc23cf54390bI"required_paths;F[I"/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;TI"dependency_paths;F[{I" path;FI"/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee;TI" mtime;FI"2013-10-07T10:55:40+02:00;FI" digest;F"%6aa198509be899ab587088f75c6c73feI" _version;F"%ffd318ca8b794f42f5029101c2cf5d91