diff --git a/index.php b/index.php
index 290242e5..af9b6709 100644
--- a/index.php
+++ b/index.php
@@ -78,15 +78,20 @@ textarea {
height: 320px;
border: 1px solid #ccc;
padding: 3px;
- font-family: consolas, courier new, courier, monospace;
+ 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;
}
button { width: 100%;}
code, .code {
- font-family: consolas, lucida console, courier new, courier, monospace;
+ font-family: liberation mono, consolas, lucida console, courier new, courier, monospace;
font-size: 12px;
}
pre {
@@ -112,14 +117,7 @@ var latest_changes=new Object(
{
'2007-10-17':
'Many, many fixes and improvements. Processing speed is also back.',
-'2007-09-28':
-'Better handling of switch cases and lines not ending with semicolon.',
-'2007-05-26':
-'Fixed regular expression detection at the start of line',
-'2007-05-18':
-'Uninitialized string offset at the end of script bug fixed',
-'2007-03-13':
-'Gave the code away',
+'... who cares ...',
'2007-02-08':
'Initial release'});
HTML
@@ -127,14 +125,14 @@ HTML
?>
-
This script was intended to be useful to explore the scripts compacted in one line (CAPXOUS autocomplete, recently renamed to CreateWebApp for some stupid reason, is a good example). That's what I wrote it for—all the other beautifiers really sucked. As the time went, I improved to suit your pretty-formatting javascript needs better.
-A messy (yet working: it's the same script that powers this page) PHP source for the curious can be found here; feel free to use and abuse.
+This script is useful to explore ugly javascripts, e.g compacted in one line. All the other beautifiers mostly suck.
+PHP source can be seen online here or fetched from subversion repository at svn://edev.uk.to/beautify. Feel free to use and abuse.
In case of glitches you may wish to tell me about them—elfz[at]laacz[dot]lv
Jia Liu has translated this to Ruby, if you're into that kind of thing (the page is in chinese, though).
+Jia Liu has translated this to Ruby, if you're into that kind of thing (the page is in chinese, though, and the version of beautifier is kind of obsolete already).
Latest messages from subversion (svn://edev.uk.to/beautify/) commit log:\n%s", + printf("Latest messages from my subversion (svn://edev.uk.to/beautify/) commit log:\n%s", htmlspecialchars(file_get_contents('.svnlog'))); }