Files
asciidisco.com/build/node_modules/vulcanize/third_party/UglifyJS2
2023-08-01 13:49:46 +02:00
..
2023-08-01 13:49:46 +02:00
2023-08-01 13:49:46 +02:00
2023-08-01 13:49:46 +02:00

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) with var ret = str
  • Added default options object
  • Added CommonJS module.exports line
  • Added jshint settins line
  • Removed semicolon from defintion of encode_string
  • Escape scripts with \x3c/script syntax

License

BSD-2-Clause: License