aboutsummaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-18 20:08:56 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-18 20:08:56 +0100
commit1cfdb853c5296f5b510f35a90d5abc449eab6af6 (patch)
tree09b6cf244c948608d4eccea4393939bec6bff291 /README
parent2fd0f561bfa966eb22443c785ad82df9d11ef87b (diff)
Renamed "script" to "js".
Added "script" command which executes an external JS file. Moved hinting to an external JS file. I renamed "script" to "js" because we use "sh" for one-line *sh scripts, so "js" for one-line JS scripts is nice and consistent.
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 733d4c8..b46c236 100644
--- a/README
+++ b/README
@@ -147,9 +147,11 @@ actions follows:
* `zoom_in`
* `zoom_out`
* `uri <address>`
-* `script <body>`
+* `js <body>`
- execute the javascript in `<body>`
- remember that the commands, and thus actions, must not contain line breaks
+* `script <file>`
+ - execute the javascript in `<file>`
* `toggle_status`
* `spawn <executable> <additonal args>`
- runs a command; see EXTERNAL SCRIPTS for details