index.php renamed to index.html, and removed latest commit tracking.

This commit is contained in:
Einars Lielmanis 2008-12-04 09:17:37 +02:00
parent e7125ccd00
commit 6931bf7794

View File

@ -2,9 +2,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
(c) 2006-2008: Einars "elfz" Lielmanis,
elfz@laacz.lv
http://elfz.laacz.lv/
(c) 2006-2008: Einars Lielmanis <elfz@laacz.lv>
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@ -42,13 +40,15 @@ function do_js_beautify()
<script type="text/javascript" src="HTML-Beautify.js" ></script>
<style type="text/css">
form { margin: 0 10px 0 10px }
textarea { width: 100%; height: 320px; border: 1px solid #ccc; padding: 3px; font-family: liberation mono, consolas, courier new, courier, monospace; font-size: 12px; }
h1 { font-family: trebuchet ms, arial, sans-serif; font-weight: normal; font-size: 28px; color: #666; margin-bottom: 15px; border-bottom: 1px solid #666; }
select { width: 19%; }
button { width: 40%; cursor: pointer;}
code, .code { font-family: liberation mono, consolas, lucida console, courier new, courier, monospace; font-size: 12px; }
pre { font-size: 12px; font-family: liberation mono, consolas, courier new, courier, monospace; margin-left: 10px; color: #777; }
form { margin: 0 10px 0 10px }
textarea { width: 100%; height: 320px; border: 1px solid #ccc; padding: 3px;}
h1 { font-family: "trebuchet ms", arial, sans-serif; font-weight: normal; font-size: 28px;
color: #666; margin-bottom: 15px; border-bottom: 1px solid #666; }
select { width: 19%; }
button { width: 40%; cursor: pointer;}
textarea, pre, span.code { font-family: terminus, consolas, "lucida console", "courier new", courier, monospace;
font-size: 12px; }
pre { margin: 10px; color: #777 }
</style>
</head>
@ -56,37 +56,31 @@ pre { font-size: 12px; font-family: liberation mono, consolas, courier new,
<h1>Beautify Javascript</h1>
<form method="post" action="?">
<textarea rows="30" cols="30" name="content" id="content">
/* paste in your own code and press Beautify button */
var latest_changes=new Object({'2008-02-22':'Javascript beautifier rewrite in javascript.','... boring history ...','2007-02-08':'Initial release'});var a=b?(c%d):e[f];
/* paste in your code and press Beautify button */
var latest_changes=new Object({'2008-12-04':'Moved to github.com','2008-02-22':'Javascript beautifier rewrite in javascript.','... boring history ...','2007-02-08':'Initial release'});var a=b?(c%d):e[f];
</textarea><br />
<button onclick="return do_js_beautify()" id="beautify">Beautify</button>
<select name="tabsize" id="tabsize">
<option value="1">indent with tab character</option>
<option value="2">indent with 2 spaces</option>
<option value="4" selected="selected">indent with 4 spaces</option>
<option value="8">indent with 8 spaces</option>
</select>
<select name="tabsize" id="tabsize">
<option value="1">indent with tab character</option>
<option value="2">indent with 2 spaces</option>
<option value="4" selected="selected">indent with 4 spaces</option>
<option value="8">indent with 8 spaces</option>
</select>
<p>You can always fetch the latest version of the code from subversion repository at <a href="svn://dev.spicausis.lv/beautify/">svn://dev.spicausis.lv/beautify</a>.</p>
<p>If you're writing javascript, <a href="http://jslint.com/">JSLint</a> is a really fine piece of software, too. You should at least understand what and why it says about your code &mdash; to be a better person. Even if it hurts your feelings.</p>
<p>In case of glitches you may wish to tell me about them&mdash;<code>elfz<span style="color:#999">[at]</span>laacz<span style="color:#999">[dot]</span>lv</code></p>
<p>Special thanks to Nochum, <a href="http://my.opera.com/Vital/blog/">Vital,</a> Dave Vasilevsky, <a href="http://jason.diamond.name">Jason Diamond</a> for the help, ideas and the fixes!
<p>In case of glitches you may wish to tell me about them &mdash;<span class="code">elfz<span style="color:#999">[at]</span>laacz<span style="color:#999">[dot]</span>lv</span></p>
<p>Special thanks to Nochum, <a href="http://my.opera.com/Vital/blog/">Vital,</a> Dave Vasilevsky, <a href="http://jason.diamond.name">Jason Diamond</a> for the help, ideas and the fixes!</p>
</form>
<pre id="testresults">
<a href="#" onclick="document.getElementById('testresults').innerHTML=test_js_beautify(); return false;">Run tests</a>
<?php
if (file_exists('.svnlog')) {
printf("<pre>Latest commits from svn://dev.spicausis.lv/beautify/:\n%s</pre>",
htmlspecialchars(file_get_contents('.svnlog')));
}
<pre id="testresults">
<a href="#" onclick="document.getElementById('testresults').innerHTML=test_js_beautify(); return false;">Run tests...</a>
?>
Moved source to <a href="http://github.com/einars/js-beautify">github.</a> Fetch it from there.
</pre>
<script src="/urchin.js" type="text/javascript">
</script>
<script src="/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-2816767-1";
if (window.urchinTracker) urchinTracker();
_uacct = "UA-2816767-1";
if (window.urchinTracker) urchinTracker();
</script>
</body>
</html>