Skip to content

Commit

Permalink
Clean-up with input from Sri
Browse files Browse the repository at this point in the history
  • Loading branch information
fowles committed Feb 9, 2013
1 parent b8410a9 commit a4556c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/resources/h2o/console.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
var startPrompt = function () {
// Start the prompt with history enabled.
jqconsole.Prompt(true, function (input) {
if( input == '?' || input == 'help' ) {
%HELP
startPrompt();
} else if( input == 'h2o-matrix' ) {
if( input == 'matrix' ) {
var c = $('#console')
c.matrix({'height':c.height(),'width':c.width()})
jqconsole.Write("There is no spoon\n", 'jqconsole-output');
}
if( input == '?' || input == 'help' ) {
%HELP
startPrompt();
} else if( input ) {
$.get('Exec',
Expand Down

0 comments on commit a4556c8

Please sign in to comment.