[utils] Fix js_to_json
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 18 Feb 2015 22:59:50 +0000 (23:59 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 18 Feb 2015 22:59:51 +0000 (23:59 +0100)
commitd305dd73a3d6927f0a2c63d08662a183fa173833
treec13bf94c2fc99d90d498bf97078a6f00973053d3
parent85d586617750d38d742a24f141b099f6b898d269
[utils] Fix js_to_json

Previously, the runtime could be atrocious for longer inputs.
test/test_utils.py
youtube_dl/utils.py