Closed
Bug 50941
Opened 25 years ago
Closed 24 years ago
JS shell help command shows obsolete command-style syntax
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: brendan, Assigned: mike+mozilla)
Details
Attachments
(1 file)
2.77 KB,
patch
|
Details | Diff | Splinter Review |
It could be whacked to use function call syntax. OTOH, is there any chance of a
"command-syntax" preprocessor for the shell? This bug is obviously not a high
priority one, but I thought I'd ask.
/be
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
I miss the mocha reference, but r=shaver.
Reporter | ||
Comment 3•25 years ago
|
||
Fix clear's help to be "clear([obj]) ..." (it uses its 'this' param, the global
object, by default), and a=brendan@mozilla.org.
/be
Comment 4•25 years ago
|
||
Yeah, I was tempted to leave 'Quit mocha'. But no one who actually uses this
help is likely to know what that means.
I fixed the 'clear' text and will check this in.
brendan, do you want to morph this bug to be about reviving the old syntax, or
shall I close it after I check in my patch?
Reporter | ||
Comment 5•25 years ago
|
||
I'd leave it for mccabe to close, or to implement command syntax if he's got the
time and motivation. I know I'd use it, but it's not that important. The js
program is not a "shell", but I do find myself typing at it often. So I find
shell-like things such as mccabe's libreadline usage to be righteous.
/be
Comment 6•25 years ago
|
||
I checked in my help text fix. Leaving this to mccabe to decide on whether to
revert to the old command syntax or close the bug.
Assignee | ||
Comment 7•24 years ago
|
||
Wontfix! Beard has something similar based on a hybrid of his java shell and
Rhino.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•