From: phasefx Date: Thu, 14 Jul 2005 07:10:39 +0000 (+0000) Subject: clear screen for shell X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c31edc18b79d8f7250c36e1908505429deb27e1f;p=Evergreen.git clear screen for shell git-svn-id: svn://svn.open-ils.org/ILS/trunk@1177 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Evergreen/staff_client/chrome/content/evergreen/util/shell.html b/Evergreen/staff_client/chrome/content/evergreen/util/shell.html index 1c3fc3601a..ca5a215b91 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/util/shell.html +++ b/Evergreen/staff_client/chrome/content/evergreen/util/shell.html @@ -264,7 +264,12 @@ mathHelp : function mathHelp() printWithRunin("Math methods", "abs, acos, asin, atan, atan2, ceil, cos, exp, floor, log, max, min, pow, random, round, sin, sqrt, tan", "propList"); }, -ans : undefined +ans : undefined, + +cls : function cls() +{ + while (_out.lastChild) { _out.removeChild( _out.lastChild ); } +} }; @@ -676,7 +681,7 @@ form { margin: 0; padding: 0; } -

JavaScript Shell 1.3.1

Features: autocompletion of property names with Tab, multiline input with Shift+Enter, input history with (Ctrl+) Up/Down, Math, help
Values and functions: ans, print(string), props(object), blink(node), load(scriptURL), scope(object)
+

JavaScript Shell 1.3.1

Features: autocompletion of property names with Tab, multiline input with Shift+Enter, input history with (Ctrl+) Up/Down, Math, help
Values and functions: ans, print(string), props(object), blink(node), load(scriptURL), scope(object), cls()