Contents
Slim copy of UglifyJS2 output library.
Original Copy
https://raw.githubusercontent.com/mishoo/UglifyJS2/v2.6.1/lib/output.js
Modifications
- Removed all functions except
encode_string. - Replaced call
var ret = make_string(str, quote)withvar ret = str - Added default
optionsobject - Added CommonJS
module.exportsline - Added
jshintsettins line - Removed semicolon from defintion of
encode_string - Escape scripts with
\x3c/scriptsyntax
License
BSD-2-Clause: License