| // Copyright (c) 2009 Kyle Banker
|
| // Licensed under the MIT Licence.
|
| // http://www.opensource.org/licenses/mit-license.php
|
| var DefaultInputHtml = function(stack) {
|
| linePrompt += "<span class='prompt'> ></span>";
|
| for(var i=0; i <= stack; i++) {
|
| linePrompt += "<span class='prompt'>.</span>";
|
| return "<div class='terminal_line'>" +
|
| "<input type='text' class='readLine active' />" +
|
| var DownArrowKeyCode = 40;
|
| var PTAG = function(str) {
|
| return '<pre class="terminal_help">' + str + '</pre>';
|
| var JavascriptKeywords = ['abstract', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'const', 'continue', 'debugger', 'default', 'delete', 'do', 'double', 'else', 'enum', 'export', 'extends', 'false', 'final', 'finally', 'float', 'for', 'function', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', 'int', 'interface', 'long', 'native', 'new', 'null', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'true', 'try', 'typeof', 'var', 'void', 'volatile', 'while', 'with', 'alert', 'date', 'eval'];
|
| var JavascriptClassNames = ['Array', 'String', 'Object']
|
| var MongoKeywords = ['help','tutorial','next','back','t0','t1','t2','t3','t4'];
|