[Pkg-javascript-commits] [pdf.js] 80/141: Fixes lint warning W004 in make.js
David Prévot
taffit at moszumanska.debian.org
Sat Apr 19 22:40:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 73e23bbc30c28596bdbe20c5343b4b26d1cc4ee5
Author: Tim van der Meij <timvandermeij at gmail.com>
Date: Tue Apr 8 21:50:37 2014 +0200
Fixes lint warning W004 in make.js
---
make.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/make.js b/make.js
index 2fd89ef..ae39c7c 100644
--- a/make.js
+++ b/make.js
@@ -317,7 +317,7 @@ target.bundle = function(args) {
}
}
- var bundle = cat(SRC_FILES),
+ var bundleContent = cat(SRC_FILES),
bundleVersion = VERSION,
bundleBuild = exec('git log --format="%h" -n 1',
{silent: true}).output.replace('\n', '');
@@ -325,15 +325,15 @@ target.bundle = function(args) {
crlfchecker.checkIfCrlfIsPresent(SRC_FILES);
// Strip out all the vim/license headers.
- bundle = bundle.replace(reg, '');
+ bundleContent = bundleContent.replace(reg, '');
// Append external files last since we don't want to modify them.
- bundle += cat(EXT_SRC_FILES);
+ bundleContent += cat(EXT_SRC_FILES);
// This just preprocesses the empty pdf.js file, we don't actually want to
// preprocess everything yet since other build targets use this file.
builder.preprocess(filename, dir, builder.merge(defines,
- {BUNDLE: bundle,
+ {BUNDLE: bundleContent,
BUNDLE_VERSION: bundleVersion,
BUNDLE_BUILD: bundleBuild}));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list