o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1391433988.6696708:@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('<div class="alert alert-error"><button data-dismiss="alert" class="close">×</button>' + message + '</div>');
          return $('#' + target + '_spinner').hide();
        }
      });
    });
  });

}).call(this);
;�TI"dependency_digest;�F"%cb2e3e25a69c37643dea232c27ebd496I"required_paths;�F[I"j/Users/gawlim/workspace/gem_repos/engines/rails_info/app/assets/javascripts/rails_info/base.js.coffee;�TI"dependency_paths;�F[{I"	path;�FI"j/Users/gawlim/workspace/gem_repos/engines/rails_info/app/assets/javascripts/rails_info/base.js.coffee;�TI"
mtime;�FI"2013-05-15T11:13:17+02:00;�FI"digest;�F"%84c89f77e6d588faf3c53c04a33271cfI"
_version;�F"%6776f581a4329e299531e1d52aa59832