Sha256: 9a82be636b665c0ea2289a8dec6bd7d371b203c3c25833b5572912473264ea30

Contents?: true

Size: 747 Bytes

Versions: 8

Compression:

Stored size: 747 Bytes

Contents

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

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

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

  $(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

8 entries across 4 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 test/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yBN65nFXI_UsGi3aSiQU6rVoAX9ZUqa8DKQAP9Ip5o.cache
lunar_shell-0.5.2 test/dummy/tmp/cache/assets/sprockets/v3.0/Ns/Ns_JTEm2xhwXAWIPbJ9ho7ZetUki9ZM6r5xFoVvZETw.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yBN65nFXI_UsGi3aSiQU6rVoAX9ZUqa8DKQAP9Ip5o.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/Ns/Ns_JTEm2xhwXAWIPbJ9ho7ZetUki9ZM6r5xFoVvZETw.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yBN65nFXI_UsGi3aSiQU6rVoAX9ZUqa8DKQAP9Ip5o.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/Ns/Ns_JTEm2xhwXAWIPbJ9ho7ZetUki9ZM6r5xFoVvZETw.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yBN65nFXI_UsGi3aSiQU6rVoAX9ZUqa8DKQAP9Ip5o.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/Ns/Ns_JTEm2xhwXAWIPbJ9ho7ZetUki9ZM6r5xFoVvZETw.cache