mozilla / fireplay-sublime

A fantastic plugin connecting your favorite editor with your favorite web debugger
48 stars 9 forks source link

Don't generate JSON by hand #37

Closed fwenzel closed 10 years ago

fwenzel commented 10 years ago

https://github.com/mozilla/fireplay-sublime/blob/master/fireplaylib/client.py#L98

This is... I think... JSON? Don't generate it by hand like that. Two things:

In [3]: json.dumps({'hello': 'world', 'blah': 12})
Out[3]: '{"blah": 12, "hello": "world"}'
nicola commented 10 years ago

This comes straight from ffdb porting: https://github.com/kripken/emscripten/blob/master/tools/ffdb.py#L137

Will get into that soon