blob: 91e7c7a6a56837fbb6c98cc200f759a50b41f12a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
var name = application.args[0];
var src = application.args[1];
var desc = application.args[2];
var obj = eval(src);
println( '<html>' );
println( '<head>' );
println( '<title>' + name + '</title>' );
println( '<link href="../kjsembed.css" rel="stylesheet" type="text/css">' );
println( '</head>' );
println( '<body>' );
println( '<h1>' + name + '</h1>' );
println( '<hr>' );
println( desc );
println( dump(obj) );
println( '<hr>' );
println( '</body>' );
println( '</html>' );
application.quit();
|