[sync]
implement _last_index_of to help poor old IE
https://github.com/einars/js-beautify/commit/0088ff13552f269240016ac5cbfbaf88b8449c1b
Partial revert of removal of reset_statement_flags
https://github.com/einars/js-beautify/commit/276952c866219b71fdab28b1ae0ff1ba760b3494
Make parsing of bare if/for/while/do consitent and beautifiable.
https://github.com/einars/js-beautify/commit/85bc046c333836259cd2324fd27603b53776793c
Tweaks statement indent unwinding to handle nested bare if and else
https://github.com/einars/js-beautify/commit/d1a59c77ad6e4f3ee1f3e5f6ef26d888aa5e0d95
Reduce the cases where output needs trimming by indenting tokens when pr...
https://github.com/einars/js-beautify/commit/646308b165a5bbf38edcf184274e27e70a37c440
More space output cleanup.
https://github.com/einars/js-beautify/commit/f35a127583d9144ad53628c97e039086287f395f
Clean up kruft
https://github.com/einars/js-beautify/commit/8447b3000b35b9e40b47ad8ef84639c62fbe0f1f
Rather than tracking newline state, we can now look at the output
https://github.com/einars/js-beautify/commit/da9dfba4553f3bcbf0e7212ca0f5e91643ceb10d
Defaulting print_newline parameters to false
https://github.com/einars/js-beautify/commit/d213d65cacff92eb843d4bc1ad1eb25a4e57d4fb
Fix mis-indenting in untainted var lines
https://github.com/einars/js-beautify/commit/23a6428eef01f47dfb16a53a8483b785575b24f6
Add bare if-for test
https://github.com/einars/js-beautify/commit/2180f46258f74a049e5de3cb23b0eecb89bc8670
Various cleanups found during sync with python
https://github.com/einars/js-beautify/commit/3b854c565dc0508d4d15c2a6047bda94a05c96dc
Sync python with the js new sweetness
https://github.com/einars/js-beautify/commit/f2b65aaed1aa78d75ae3af85ecc569f3fe102ad8
Refactor js structure to match python
https://github.com/einars/js-beautify/commit/bc834c8e23f924f3dc5c0a122cb3031033fbddaa
Fix trailing comma in "handlers" object
Undo "Add patch for Array.prototype.lastIndexOf() and String[Number]"
(reverse-merged from commit aa38b1bfd487af80e7ba33ab77603bfab195626b)
Aren't needed since https://github.com/einars/js-beautify/commit/0088ff13552f269240016ac5cbfbaf88b8449c1b
[sync]
Remvoe kruft in [] processing
https://github.com/einars/js-beautify/commit/1d3cf832dfc124ae4716bed229326407d565df1b
Make statements inside blocks close when the parent block closes
https://github.com/einars/js-beautify/commit/6206c3cf78fab38eda5f3713d2312573acf65ff8