Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 1.01 KB
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test</title>
<script src="../../clone/trunk/uneval.js"></script>
<script src="../../Base64/trunk/base64.js"></script>
<script src="rawinflate.js"></script>
<script src="rawdeflate.js"></script>
<script>
$ = function(id){ return document.getElementById(id) };
</script>
</head>
<body>
<h1>テスト</h1>
<p>$Id: test.html,v 0.3 2009/03/01 22:52:17 dankogai Exp dankogai $</p>
<dl>
<dt>Inflated + Base64-Decoded (Original):</dt>
<dd><textarea id="inflated" cols="64" rows="16" onkeyup="
var that = this, dst = $('deflated');
window.setTimeout(function(){
dst.value = Base64.toBase64(RawDeflate.deflate(Base64.utob(that.value)));
},0);
"></textarea></dd>
<dt>Deflated + Base64-Encoded (Compressed):</dt>
<dd><textarea id="deflated" cols="64" rows="16" onkeyup="
var that = this, dst = $('inflated');
window.setTimeout(function(){
dst.value = Base64.btou(RawDeflate.inflate(Base64.fromBase64(that.value)));
},0);
"></textarea></dd>
</dl>
</body>
</html>