Fix #867: deprecate !js{,b}.

This commit is contained in:
Oliver Blanthorn 2018-07-30 14:37:52 +01:00
parent 27100b0872
commit 59da8d417f
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 2 additions and 4 deletions

View file

@ -228,8 +228,8 @@ const DEFAULTS = o({
colorscheme: "colourscheme", colorscheme: "colourscheme",
colors: "colourscheme", colors: "colourscheme",
man: "help", man: "help",
"!js": "js", "!js": "fillcmdline !js is deprecated. Please use js instead: js ",
"!jsb": "jsb", "!jsb": "fillcmdline !jsb is deprecated. Please use jsb instead: jsb ",
current_url: "composite get_current_url | fillcmdline_notrail ", current_url: "composite get_current_url | fillcmdline_notrail ",
}), }),
followpagepatterns: o({ followpagepatterns: o({

View file

@ -3106,8 +3106,6 @@ export async function echo(...str: string[]) {
* *
* Some of Tridactyl's functions are accessible here via the `tri` object. Just do `console.log(tri)` in the web console on the new tab page to see what's available. * Some of Tridactyl's functions are accessible here via the `tri` object. Just do `console.log(tri)` in the web console on the new tab page to see what's available.
* *
* Aliased to `!js`
*
* If you want to pipe an argument to `js`, you need to use the "-p" flag and then use the JS_ARG global variable, e.g: * If you want to pipe an argument to `js`, you need to use the "-p" flag and then use the JS_ARG global variable, e.g:
* *
* `composite get_current_url | js -p alert(JS_ARG)` * `composite get_current_url | js -p alert(JS_ARG)`