1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Merge pull request #6765 from timvandermeij/unused

Remove unused variables
This commit is contained in:
Yury Delendik 2015-12-18 10:43:40 -06:00
commit 65de3d6268
14 changed files with 17 additions and 29 deletions

View file

@ -446,7 +446,7 @@ target.locale = function() {
// Compresses cmap files. Ensure that Adobe cmap download and uncompressed at
// ./external/cmaps location.
//
target.cmaps = function (args) {
target.cmaps = function () {
var CMAP_INPUT = 'external/cmaps';
var VIEWER_CMAP_OUTPUT = 'external/bcmaps';
@ -607,7 +607,7 @@ target.singlefile = function() {
};
function stripCommentHeaders(content, filename) {
function stripCommentHeaders(content) {
var notEndOfComment = '(?:[^*]|\\*(?!/))+';
var reg = new RegExp(
'\n/\\* Copyright' + notEndOfComment + '\\*/\\s*' +
@ -628,7 +628,7 @@ function stripUMDHeaders(content) {
function cleanupJSSource(file) {
var content = cat(file);
content = stripCommentHeaders(content, file);
content = stripCommentHeaders(content);
content.to(file);
}
@ -1295,8 +1295,7 @@ target.botmakeref = function() {
echo();
echo('### Creating reference images');
var PDF_TEST = env['PDF_TEST'] || 'test_manifest.json',
PDF_BROWSERS = env['PDF_BROWSERS'] ||
var PDF_BROWSERS = env['PDF_BROWSERS'] ||
'resources/browser_manifests/browser_manifest.json';
if (!test('-f', 'test/' + PDF_BROWSERS)) {