Fixes #887 - edge case in serializing comments.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 8 Jul 2017 09:16:40 +0000 (11:16 +0200)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 8 Jul 2017 09:49:18 +0000 (11:49 +0200)
commit01f3626b0425ab128fa7f1c0f2c1541a9291b7c8
treeafdadc903c592e6ea2f215106da7385becace044
parenta6e7757dc5e9b0d6ef574302cb7ed967209314f4
Fixes #887 - edge case in serializing comments.

Why:

* When `removeEmpty: false` is used then comments are not properly
  removed from a list of tokens.
History.md
lib/optimizer/level-1/optimize.js
test/optimizer/level-1/optimize-test.js