gfxmonk/repr.js — pull request #2 by pysquared (2014-11-27 10:09:12+00:00)
Title: Quote all \ and ", not just the first

Use 'g' flag for replace() regex.