Sha256: 96157b2d8702663e034225707e97ce1413f8e253a559a7bde28776ca5e172a5b

Contents?: true

Size: 607 Bytes

Versions: 4

Compression:

Stored size: 607 Bytes

Contents

I"S(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>");
      return $('#prompt').clone().appendTo('.input').last();
    });
  };

  $(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/CZ/czCBqAMT3r_vhVlKsb-Xj_r5rRvDmMsJ-qqw9tHh65M.cache
lunar_shell-0.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/CZ/czCBqAMT3r_vhVlKsb-Xj_r5rRvDmMsJ-qqw9tHh65M.cache
lunar_shell-0.4.1 test/dummy/tmp/cache/assets/sprockets/v3.0/CZ/czCBqAMT3r_vhVlKsb-Xj_r5rRvDmMsJ-qqw9tHh65M.cache
lunar_shell-0.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/CZ/czCBqAMT3r_vhVlKsb-Xj_r5rRvDmMsJ-qqw9tHh65M.cache