diff options
author | Barrucadu <mike@barrucadu.co.uk> | 2009-05-18 20:08:56 +0100 |
---|---|---|
committer | Barrucadu <mike@barrucadu.co.uk> | 2009-05-18 20:08:56 +0100 |
commit | 1cfdb853c5296f5b510f35a90d5abc449eab6af6 (patch) | |
tree | 09b6cf244c948608d4eccea4393939bec6bff291 /README | |
parent | 2fd0f561bfa966eb22443c785ad82df9d11ef87b (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-- | README | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |