Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

also don't mangle function names if !options.mangle (#404)

  • Loading branch information...
commit 5f5e7c27c25cb597673b55b0a1c265eb79bed3df 1 parent b689d52
@mishoo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/process.js
View
2  lib/process.js
@@ -538,7 +538,7 @@ function ast_mangle(ast, options) {
};
function _lambda(name, args, body) {
- if (!options.no_functions) {
+ if (!options.no_functions && options.mangle) {
var is_defun = this[0] == "defun", extra;
if (name) {
if (is_defun) name = get_mangled(name);
Please sign in to comment.
Something went wrong with that request. Please try again.