{:uriI"file:///Users/madmax/Programs/itmammoth/rails_sortable/vendor/assets/javascripts/plugin.js?type=application/javascript&pipeline=self&id=4c69d794b1f856b86c097708c658565dbdfc126e8b9cc32ceaa5768cf45ccfd7:ET:load_pathI"N/Users/madmax/Programs/itmammoth/rails_sortable/vendor/assets/javascripts;T: filenameI"X/Users/madmax/Programs/itmammoth/rails_sortable/vendor/assets/javascripts/plugin.js;T: nameI" plugin;T:logical_pathI"plugin.self.js;T:content_typeI"application/javascript;T: sourceI"(function($) { $.fn.railsSortable = function(options) { options = options || {}; var settings = $.extend({}, options); settings.update = function(event, ui) { if (typeof options.update === 'function') { options.update(event, ui); } $.ajax({ type: 'POST', url: '/sortable/reorder', dataType: 'json', contentType: 'application/json', data: JSON.stringify(makePostData($(this))), }); } this.sortable(settings); }; var makePostData = function($sortable) { var data = $.map($sortable.sortable('toArray'), function(sortableId) { return sortableId; }); return { rails_sortable: data }; }; })(jQuery); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ffile-digest:///Users/madmax/Programs/itmammoth/rails_sortable/vendor/assets/javascripts/plugin.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%om):C3(ɛ0i: lengthi:dependencies_digest"%b1SsK\9Ux6w?=:idI"E4c69d794b1f856b86c097708c658565dbdfc126e8b9cc32ceaa5768cf45ccfd7;F: mtimel+:7]