o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1391433988.671732:@value"{I" class:EFI"ProcessedAsset; FI"logical_path; FI"rails_info/base.js; TI" pathname; FI"j/Users/gawlim/workspace/gem_repos/engines/rails_info/app/assets/javascripts/rails_info/base.js.coffee; TI"content_type; FI"application/javascript; FI" mtime; FI"2013-05-15T11:13:17+02:00; FI"length; FiÄI"digest; F"%6ab4be658f4674c441c14693c640b7a2I"source; FI"Ä(function() { $(document).ready(function() { var index; $(".accordions").each(function(k, v) { return $(v).accordion(); }); $(".bootstrap_accordion").accordion({ header: "h3", heightStyle: 'content' }); $(".tabs").each(function(k, v) { $(v).tabs({ autoHeight: true }); if (!$('#version_control_filter').attr('id')) { return $(v).attr('style', 'height: auto;'); } }); index = 1; $("#actions .tabs").each(function(k, v) { if (!(index === 1 || $(v).parent().attr('class').match('ui-tabs'))) { $(v).attr('style', 'display: none;'); } return index += 1; }); $("a[rel=popover]").popover(); $(".tooltip").tooltip(); $("a[rel=tooltip]").tooltip(); $('.datepicker').datepicker({ dateFormat: 'yy-mm-dd' }); $('#dialog').dialog({ autoOpen: false, modal: true, width: 800, height: 525, buttons: { Cancel: function() { return $(this).dialog('close'); } } }); return $('.modal_link').click(function(event) { var target; event.preventDefault(); $('.ui-dialog-title').text($(this).attr('title')); $('#dialog').dialog('open'); target = 'dialog_body'; return $.ajax($(this).attr('href'), { type: 'GET', dataType: 'html', timeout: 5000, success: function(html) { if ($.type(target) === 'string') { $('#' + target).empty(); $('#' + target).append(html); return $('#' + target + '_spinner').hide(); } }, error: function(jqXHR, textStatus, errorThrown) { var message; message = errorThrown; if (textStatus === 'timeout') { message = 'Timeout of 5 seconds exceeded. Please try again.'; } if (message === '') { message = textStatus; } $('#' + target).empty(); $('#' + target).append('