over the shoulder review


http://codereview.appspot.com/8713/diff/201/417
File src/com/google/caja/render/JsPrettyPrinter.java (right):

http://codereview.appspot.com/8713/diff/201/417#newcode320
Line 320: }
Ihab wants to know what's going on here.

http://codereview.appspot.com/8713/diff/201/417#newcode461
Line 461: }
breakLines and indent need some comments.  hex math is a bit squirrely.
Class could use a comment explaining the relationship between the input
tokens, and the result -- the input with whitespace tokens inserted.

Also maybe explain how newlines may be downgraded to spaces by the
rendered if a newline is in an unsafe place.

http://codereview.appspot.com/8713

Reply via email to