aboutsummaryrefslogtreecommitdiff
path: root/bin/uglifyjs
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2013-04-21 11:35:50 +0300
committerMihai Bazon <mihai@bazon.net>2013-04-21 11:35:50 +0300
commit68394eed93472b2a778e1731b4e43ed0cc2359d1 (patch)
tree8f665153c2a7116e648cbab9a8d98b6f1ed74a02 /bin/uglifyjs
parent753b4b6cc8aff37b9678b3bc3a883874bf4cac51 (diff)
downloadtracifyjs-68394eed93472b2a778e1731b4e43ed0cc2359d1.tar.gz
tracifyjs-68394eed93472b2a778e1731b4e43ed0cc2359d1.zip
Make compress/mangle disabled by default, as before 5af144522a6fea302abdd0b63d48864de0664207
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-xbin/uglifyjs12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index aecc0726..ee32fdf1 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -114,21 +114,21 @@ if (ARGS.acorn) {
acorn = require("acorn");
}
-var COMPRESS = getOptions("c", true) || {};
-var MANGLE = getOptions("m", true) || {};
+var COMPRESS = getOptions("c", true);
+var MANGLE = getOptions("m", true);
var BEAUTIFY = getOptions("b", true);
if (ARGS.d) {
- COMPRESS.global_defs = getOptions("d");
+ if (COMPRESS) COMPRESS.global_defs = getOptions("d");
}
if (ARGS.screw_ie8) {
- COMPRESS.screw_ie8 = true;
- MANGLE.screw_ie8 = true;
+ if (COMPRESS) COMPRESS.screw_ie8 = true;
+ if (MANGLE) MANGLE.screw_ie8 = true;
}
if (ARGS.r) {
- MANGLE.except = ARGS.r.replace(/^\s+|\s+$/g).split(/\s*,+\s*/);
+ if (MANGLE) MANGLE.except = ARGS.r.replace(/^\s+|\s+$/g).split(/\s*,+\s*/);
}
var OUTPUT_OPTIONS = {
ling, force the use of the cmake method to find llvm. Change-Id: I27f6f4d9d71028c15588eeade48d3a918c042b9c Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Zheng Junjie 2024-01-09gnu: glew: Fix cross-compiling....* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add cmake-minimal-cross. [arguments]: Adjust 'fix-cross-compiling to find llvm. * gnu/packages/llvm.scm (llvm-for-mesa) [arguments]<#:configure-flags>: When cross-compiling, set -DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE, remove -DLLVM_LINK_LLVM_DYLIB.*. <#:phases>: When cross-compiling, remove the 'delete-static-libraries phase. Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Zheng Junjie 2024-01-04Merge branch 'master' into mesa-updates...Change-Id: I46ca25bea98d25150877421c6d5161752afabb25 John Kehayias 2024-01-03gnu: glew: Fix cross-compiling....gnu/packages/gl.scm(glew): [arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target. Change-Id: I365f6635120a85359083beb88cb138f09a99fe33 Zheng Junjie 2023-12-31gnu: glfw: Update to 3.3.9....* gnu/packages/gl.scm (glfw): Update to 3.3.9. Change-Id: Ide5ec168e97d431dba007bd6095635dab83b87c4 Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Kaelyn Takata 2023-12-28gnu: mesa: Update to 23.3.2....* gnu/packages/gl.scm (mesa): Update to 23.3.2. Change-Id: Ic348c48f4045e8766646a5fe62209619a0247059 John Kehayias 2023-12-28Merge branch 'master' into mesa-updates...Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5 John Kehayias 2023-12-18gnu: mesa: Enable zink support....* gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in configure-flags. Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8 John Kehayias 2023-12-17gnu: mesa: Update to 23.3.1....* gnu/packages/gl.scm (mesa): Update to 23.3.1. Change-Id: Idf4393b4fa5b7df7a78bd88d7591385023460b5b John Kehayias 2023-12-22gnu: Add glad, version 2.0.4....* gnu/packages/gl.scm (glad): New variable. Change-Id: I516d44dfc9272702c3ac31773df0b6c2d68ed99c Modified-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Zheng Junjie 2023-12-22gnu: glad-0.1: Use gexps....* gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps. Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992 Hilton Chain 2023-12-22gnu: glad: Rename to glad-0.1....* gnu/packages/gl.scm (glad): Rename variable to... (glad-0.1): ...this. * gnu/packages/electronics.scm (openboardview)[native-inputs]: Adjust accordingly. Change-Id: I5a9068186a899b8ff76feb51fd44f59e71cdb030 Hilton Chain 2023-11-05gnu: libepoxy: Hardcode paths to GLES libraries....Fixes <https://issues.guix.gnu.org/64981>. * gnu/packages/gl.scm (libepoxy)[arguments]<#:phases>: Hardcode paths to libGLESv1_CM.so.1 and libGLESv2.so.2. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I9d68a2b8f9c4ffee13ea63ea973970bf1d4c8a6d 宋文武 2023-11-05gnu: mesa: Update to 23.2.1....* gnu/packages/gl.scm (mesa): Update to 23.2.1. Change-Id: I9014c29696317eeda2c86170ef64d57dd02fe8f4 John Kehayias 2023-10-15gnu: mesa: Fix cross-compiling....* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling add pkg-config-for-build, wayland, wayland-protocols. [arguments]: Adjust configure-flags to use cond to also match the architecture when cross-compiling. Add phase when cross-compilng to set the location of llvm-config. Efraim Flashner 2023-09-30gnu: libglvnd: Update to 1.7.0....* gnu/packages/gl.scm (libglvnd): Update to 1.7.0. Signed-off-by: Christopher Baines <mail@cbaines.net> Hilton Chain 2023-09-26gnu: glfw: Patch dlopen calls....* gnu/packages/gl.scm (glfw) [arguments]: Add #:modules and #:phases argument. [inputs]: New field. Maxim Cournoyer