Sha256: 94466cd88f03db158a78e4d0fc2475e7ea5da2d198c05a822c904f074d9dcfc8

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

I"“(function() {
  var focus_cli, form_submit;

  focus_cli = function() {
    return $('#command_line').focus();
  };

  form_submit = function() {
    return $('#cli').submit(function(e) {
      e.preventDefault();
      $('#shell-history').append("<div class=\"input\"></div>");
      $('#shell-cli .prompt').clone().appendTo('#shell-history .input:last');
      return $('.input').last().append($('#command_line').val());
    });
  };

  $(function() {
    focus_cli();
    form_submit();
    return $(document).click(function() {
      return focus_cli();
    });
  });

  $(document).ajaxComplete(function() {
    return focus_cli();
  });

}).call(this);
:ET

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sDlTqO0NeaPztthp35i6P-8g4DxonevnLgBeLGIwjs.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sDlTqO0NeaPztthp35i6P-8g4DxonevnLgBeLGIwjs.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sDlTqO0NeaPztthp35i6P-8g4DxonevnLgBeLGIwjs.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sDlTqO0NeaPztthp35i6P-8g4DxonevnLgBeLGIwjs.cache