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