Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 5f5e7c27c25cb597673b55b0a1c265eb79bed3df 1 parent b689d52
Mihai Bazon authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/process.js
2  lib/process.js
@@ -538,7 +538,7 @@ function ast_mangle(ast, options) {
538 538 };
539 539
540 540 function _lambda(name, args, body) {
541   - if (!options.no_functions) {
  541 + if (!options.no_functions && options.mangle) {
542 542 var is_defun = this[0] == "defun", extra;
543 543 if (name) {
544 544 if (is_defun) name = get_mangled(name);

0 comments on commit 5f5e7c2

Please sign in to comment.
Something went wrong with that request. Please try again.