aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/follow.js
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 23:14:53 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 23:14:53 +0800
commit5ade8b362a571ce1c1411bbaf1a779d58a2a616b (patch)
tree636ff02148a378a1192e5043024479a6e6083d0c /examples/data/scripts/follow.js
parentf8165c88662936b072303803d6038f26124faccd (diff)
Default follow keys to numbers and fix follower script argument order.
Diffstat (limited to 'examples/data/scripts/follow.js')
-rw-r--r--examples/data/scripts/follow.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/data/scripts/follow.js b/examples/data/scripts/follow.js
index 12b3765..afb327f 100644
--- a/examples/data/scripts/follow.js
+++ b/examples/data/scripts/follow.js
@@ -263,8 +263,7 @@ function followLinks(follow) {
}
}
-//Parse input: first argument is user input, second is defined hint keys.
+//Parse input: first argument is follow keys, second is user input.
var args = '%s'.split(' ');
-var charset = args[1];
-
-followLinks(args[0]);
+var charset = args[0];
+followLinks(args[1]);