...

World Wide Web Server 2012-07-04 16:05:15 -07:00
parent 1534437374
commit 1fe4b03ea8

@ -16,10 +16,10 @@ The code is not 100% foolproof, but close enough, and surprisingly fast. Even so
<b>Known gotchas:</b>
* Two closing Javascript brackets on the same line will only count as one, IF there are non-whitespace characters between them (although I can't think of a good reason why there ever would be -- except in minified Javascript, and the kind of performance geeks who use <i>inline</i> minified Javascript would hardly want the overhead of a function like this)
* If a Javascript line containing an opening bracket happens to have a bracketed expression later in the same line, the next line will not be indented (again, outside of minified Javascript, I don't see this happening too often)
* The script doesn't ignore tags inside string literals and comments