Sha256: 87d8ca9517aa70da8985ae0029b09da0705bbd7114d5f9d9402b2ccd8a0a9fd8

Contents?: true

Size: 637 Bytes

Versions: 4

Compression:

Stored size: 637 Bytes

Contents

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

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

  form_submit = function() {
    return $('#cli').submit(function(e) {
      var input;
      e.preventDefault();
      alert('yo');
      input = "<div class=\"input\">" + $('#prompt').text() + "</div>";
      return $('.shell-history').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

4 entries across 4 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 test/dummy/tmp/cache/assets/sprockets/v3.0/aU/aUyalUJZOB3s-os-g6KcvQeftstU74-fMXf48hfr530.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/aU/aUyalUJZOB3s-os-g6KcvQeftstU74-fMXf48hfr530.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/aU/aUyalUJZOB3s-os-g6KcvQeftstU74-fMXf48hfr530.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/aU/aUyalUJZOB3s-os-g6KcvQeftstU74-fMXf48hfr530.cache