summaryrefslogtreecommitdiff
path: root/appl/charon/jscript.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-01-15 21:04:26 +0000
committerCharles.Forsyth <devnull@localhost>2007-01-15 21:04:26 +0000
commit8911721efbf3b3721376e2baa30bae002c2975c2 (patch)
treeaa059ffa39c2c4f1cd5ed2e137dcb9b079de2717 /appl/charon/jscript.b
parent0e96539ff7cff23233d3f0a64bb285b385a3a1f4 (diff)
20070115
Diffstat (limited to 'appl/charon/jscript.b')
-rw-r--r--appl/charon/jscript.b6
1 files changed, 3 insertions, 3 deletions
diff --git a/appl/charon/jscript.b b/appl/charon/jscript.b
index ad35f295..0742da31 100644
--- a/appl/charon/jscript.b
+++ b/appl/charon/jscript.b
@@ -1030,7 +1030,7 @@ do_on(e: ref ScriptEvent)
E->SEscript =>
# TODO - handle document text from evalscript
# need to determine if document is 'open' or not.
- (err, nil, val) := evalscript(f, e.script);
+ (nil, nil, val) := evalscript(f, e.script);
if (e.reply != nil)
e.reply <- = val;
e.reply = nil;
@@ -2713,7 +2713,7 @@ fieldinstant(ex : ref Exec, field: ref Build->Formfield, oform: ref Obj) : ref V
# Make an event handler named hname in o, with given body.
puthandler(ex: ref Exec, o: ref Obj, hname: string, hbody: string)
{
- c := ES->eval(ex, "function PRIVhandler() {" + hbody + "}");
+ ES->eval(ex, "function PRIVhandler() {" + hbody + "}");
hobj := getobj(ex, ex.global, "PRIVhandler");
if(hobj != nil) {
ES->put(ex, o, hname, ES->objval(hobj));
@@ -3013,7 +3013,7 @@ newcharon(url: string, nm: string, sw: ref ScriptWin)
continue;
if(s == "E")
exit;
- (n, l) := sys->tokenize(s, " ");
+ (nil, l) := sys->tokenize(s, " ");
case hd l{
"L" =>
sw.newloc = hd tl l;