Skip to content

Instantly share code, notes, and snippets.

@kzrl
kzrl / js-stringify.py
Created November 27, 2012 01:29
JS Stringify
#!/usr/bin/python
#Very simple way to create long JS string concatenations from each line in a file
#Opens the file given as the first and only argument, and outputs to SDOUT
# + '<contents of the line>'
#Author: Karl Cordes
import sys
try: