Sha256: 538ca1176434e7fc105b900f1cec1c3358f5d88a8a9f2758a641c9c506320b51
Contents?: true
Size: 688 Bytes
Versions: 4
Compression:
Stored size: 688 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(); alert('yo'); $('#shell-history').append("<div class=\"input\"></div>"); $('.input').last.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