From 73e23bbc30c28596bdbe20c5343b4b26d1cc4ee5 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Tue, 8 Apr 2014 21:50:37 +0200 Subject: [PATCH] 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 2fd89efdb..ae39c7ca6 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})); }