mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 13:27:58 +01:00
add missing :javascript[!] variant to the command's usage synopsis
This commit is contained in:
@@ -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/>" +
|
||||||
|
|||||||
Reference in New Issue
Block a user