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

Remove globals that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine)

This commit is contained in:
Jonas Jenwald 2016-12-15 18:10:43 +01:00
parent 2f3805efbc
commit c850968fa7
34 changed files with 38 additions and 59 deletions

View file

@ -34,7 +34,7 @@
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*globals jasmineRequire, jasmine, TestReporter */
/* globals jasmineRequire, TestReporter */
// Modified jasmine's boot.js file to load PDF.js libraries async.

View file

@ -1,8 +1,7 @@
/* globals expect, it, describe, Dict, Name, Annotation, AnnotationBorderStyle,
AnnotationBorderStyleType, AnnotationType, AnnotationFlag, PDFJS,
beforeEach, afterEach, stringToBytes, AnnotationFactory, Ref, isRef,
beforeAll, afterAll, AnnotationFieldFlag, stringToUTF8String,
StringStream, Lexer, Parser */
/* globals isRef, AnnotationFactory, Dict, Name, Ref, AnnotationType,
AnnotationFlag, Annotation, AnnotationBorderStyle,
AnnotationBorderStyleType, StringStream, Lexer, Parser,
stringToUTF8String, AnnotationFieldFlag, PDFJS, stringToBytes */
'use strict';

View file

@ -1,7 +1,6 @@
/* globals PDFJS, expect, it, describe, Promise, beforeAll,
InvalidPDFException, MissingPDFException, StreamType, FontType,
PDFDocumentProxy, PasswordException, PasswordResponses, afterAll,
PDFPageProxy, createPromiseCapability, afterEach */
/* globals PDFJS, createPromiseCapability, PDFDocumentProxy,
InvalidPDFException, MissingPDFException, PasswordResponses,
PasswordException, PDFPageProxy, StreamType, FontType */
'use strict';

View file

@ -1,6 +1,5 @@
/* globals describe, it, expect, beforeAll, afterAll, beforeEach, afterEach,
Stream, CFFParser, SEAC_ANALYSIS_ENABLED, CFFIndex, CFFStrings,
CFFCompiler */
/* globals Stream, CFFParser, SEAC_ANALYSIS_ENABLED, CFFIndex, CFFParser,
CFFStrings, CFFCompiler */
'use strict';

View file

@ -1,5 +1,4 @@
/* globals expect, it, describe, StringStream, CMapFactory, Name, CMap,
IdentityCMap */
/* globals StringStream, CMapFactory, CMap, IdentityCMap, Name */
'use strict';

View file

@ -1,7 +1,7 @@
/* globals expect, it, describe, calculateMD5, ARCFourCipher, Name, beforeAll,
CipherTransformFactory, calculateSHA256, calculateSHA384, afterAll,
calculateSHA512, AES128Cipher, AES256Cipher, PDF17, PDF20, Dict,
PasswordException, PasswordResponses, stringToBytes */
/* globals stringToBytes, calculateMD5, ARCFourCipher, calculateSHA256,
calculateSHA384, calculateSHA512, AES128Cipher, AES256Cipher, PDF17,
PDF20, Dict, CipherTransformFactory, PasswordException,
PasswordResponses, Name */
'use strict';

View file

@ -1,5 +1,4 @@
/* globals expect, it, describe, PDFJS, isExternalLinkTargetSet, LinkTarget,
getFilenameFromUrl, beforeAll, afterAll */
/* globals getFilenameFromUrl, PDFJS, LinkTarget, isExternalLinkTargetSet */
'use strict';

View file

@ -1,5 +1,5 @@
/* globals expect, it, describe, PartialEvaluator, StringStream, OPS,
OperatorList, Dict, Name, Stream, WorkerTask */
/* globals OperatorList, WorkerTask, PartialEvaluator, StringStream, OPS, Dict,
Name, Stream */
'use strict';

View file

@ -1,4 +1,4 @@
/* globals describe, it, expect, checkProblematicCharRanges */
/* globals checkProblematicCharRanges */
'use strict';

View file

@ -1,6 +1,5 @@
/* globals jasmine, expect, it, describe, beforeEach, isArray, StringStream,
PostScriptParser, PostScriptLexer, PostScriptEvaluator,
PostScriptCompiler*/
/* globals isArray, StringStream, PostScriptParser, PostScriptLexer,
PostScriptEvaluator, PostScriptCompiler */
'use strict';

View file

@ -34,7 +34,7 @@
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*globals jasmineRequire, jasmine, TestReporter */
/* globals jasmineRequire, TestReporter */
// Modified jasmine's boot.js file to load PDF.js libraries async.

View file

@ -1,4 +1,4 @@
/* globals expect, it, describe, Metadata */
/* globals Metadata */
'use strict';

View file

@ -1,4 +1,4 @@
/* globals jasmine, expect, it, describe, MurmurHash3_64 */
/* globals MurmurHash3_64 */
'use strict';

View file

@ -1,4 +1,4 @@
/* globals expect, it, describe, PDFNetworkStream */
/* globals PDFNetworkStream */
'use strict';

View file

@ -1,4 +1,4 @@
/* globals expect, it, describe, StringStream, Lexer, Name, Linearization */
/* globals StringStream, Lexer, Name, Linearization */
'use strict';

View file

@ -1,5 +1,4 @@
/* globals jasmine, expect, it, describe, beforeEach, Stream, PredictorStream,
Dict */
/* globals Stream, PredictorStream, Dict */
'use strict';

View file

@ -1,5 +1,4 @@
/* globals describe, it, expect, StringStream, Type1Parser,
SEAC_ANALYSIS_ENABLED */
/* globals StringStream, Type1Parser, SEAC_ANALYSIS_ENABLED */
'use strict';

View file

@ -1,6 +1,6 @@
/* globals describe, it, expect, beforeAll, afterAll, mapSpecialUnicodeValues,
getUnicodeForGlyph, getGlyphsUnicode, getDingbatsGlyphsUnicode,
getUnicodeRangeFor, getNormalizedUnicodes, reverseIfRtl */
/* globals mapSpecialUnicodeValues, getUnicodeForGlyph, getGlyphsUnicode,
getDingbatsGlyphsUnicode, getUnicodeRangeFor, getNormalizedUnicodes,
reverseIfRtl */
'use strict';

View file

@ -1,4 +1,4 @@
/* globals describe, it, expect, stringToPDFString, removeNullCharacters */
/* globals stringToPDFString, removeNullCharacters */
'use strict';