Sha256: c6f2539fd61bc197f514ced055a962b17f0a608a9bd3db4be4e1c5e67f62c484

Contents?: true

Size: 679 Bytes

Versions: 4

Compression:

Stored size: 679 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>");
      $('#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() {
    focus_cli();
    return form_submit();
  });

}).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/3S/3SRlWh8oG7bQikVF3y3Dw9gZQkeXoKlkoT8_DuRQm70.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/3S/3SRlWh8oG7bQikVF3y3Dw9gZQkeXoKlkoT8_DuRQm70.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/3S/3SRlWh8oG7bQikVF3y3Dw9gZQkeXoKlkoT8_DuRQm70.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/3S/3SRlWh8oG7bQikVF3y3Dw9gZQkeXoKlkoT8_DuRQm70.cache