Fixes #652 - order of restoring and removing unused tokens.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Thu, 27 Aug 2015 13:13:57 +0000 (14:13 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Thu, 27 Aug 2015 15:42:46 +0000 (16:42 +0100)
commit0d83919eaa08a342a2069f3ac80ce23bb2be7be3
treebf59c88bb2a7f185c96de9e2ba25706a71cd4e93
parent9dbdcbcee0d77dc0f7fcdf29dc2d733738a3f76d
Fixes #652 - order of restoring and removing unused tokens.

We should first restore token and then remove unused tokens as this
way the positions don't get mangled.
History.md
lib/selectors/simple.js
test/selectors/simple-test.js