1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Issue #2008 - Fix lint errors for external/builder/

This commit is contained in:
Jon Buckley 2013-01-31 18:47:41 -05:00
parent c4eab852e0
commit 10cdb48f36
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
/* jshint node:true */
/* globals cp, ls, test */
'use strict';
require('../shelljs/make');
var fs = require('fs'),
path = require('path'),
@ -30,7 +35,7 @@ function preprocess(inFilename, outFilename, defines) {
var writeLine = typeof outFilename === 'function' ? outFilename :
function(line) {
out += line + '\n';
}
};
function include(file) {
var realPath = fs.realpathSync(inFilename);
var dir = path.dirname(realPath);