1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:37:59 +01:00

add missing :javascript[!] variant to the command's usage synopsis

This commit is contained in:
Doug Kearns
2007-07-21 14:19:02 +00:00
parent 699c20e077
commit 039544a697

View File

@@ -497,7 +497,7 @@ function Commands() //{{{
} }
}, },
{ {
usage: ["javas[cript] {cmd}", "javascript <<{endpattern}\\n{script}\\n{endpattern}"], // \\n is changed to <br/> in the help.js code usage: ["javas[cript] {cmd}", "javascript <<{endpattern}\\n{script}\\n{endpattern}", "javascript[!]"], // \\n is changed to <br/> in the help.js code
short_help: "Run any javascript command through eval()", short_help: "Run any javascript command through eval()",
help: "Acts as a javascript interpreter by passing the argument to <code>eval()</code>.<br/>" + help: "Acts as a javascript interpreter by passing the argument to <code>eval()</code>.<br/>" +
"<code class=\"command\">:javascript alert('Hello world')</code> would show a dialog box with the text \"Hello world\".<br/>" + "<code class=\"command\">:javascript alert('Hello world')</code> would show a dialog box with the text \"Hello world\".<br/>" +