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