Merge pull request #5177 from Snuffleupagus/remove-debug-console-log
Remove two instances of leftover console.log debug statements
This commit is contained in:
		
						commit
						f36bfccedf
					
				@ -835,8 +835,6 @@ var XRef = (function XRefClosure() {
 | 
				
			|||||||
          // Validate entry obj
 | 
					          // Validate entry obj
 | 
				
			||||||
          if (!isInt(entry.offset) || !isInt(entry.gen) ||
 | 
					          if (!isInt(entry.offset) || !isInt(entry.gen) ||
 | 
				
			||||||
              !(entry.free || entry.uncompressed)) {
 | 
					              !(entry.free || entry.uncompressed)) {
 | 
				
			||||||
            console.log(entry.offset, entry.gen, entry.free,
 | 
					 | 
				
			||||||
                        entry.uncompressed);
 | 
					 | 
				
			||||||
            error('Invalid entry in XRef subsection: ' + first + ', ' + count);
 | 
					            error('Invalid entry in XRef subsection: ' + first + ', ' + count);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -165,7 +165,6 @@ describe('evaluator', function() {
 | 
				
			|||||||
                                           new XrefMock(), new HandlerMock(),
 | 
					                                           new XrefMock(), new HandlerMock(),
 | 
				
			||||||
                                           'prefix');
 | 
					                                           'prefix');
 | 
				
			||||||
      var stream = new StringStream('5 1 d0');
 | 
					      var stream = new StringStream('5 1 d0');
 | 
				
			||||||
      console.log('here!');
 | 
					 | 
				
			||||||
      runOperatorListCheck(evaluator, stream, new ResourcesMock(),
 | 
					      runOperatorListCheck(evaluator, stream, new ResourcesMock(),
 | 
				
			||||||
          function (result) {
 | 
					          function (result) {
 | 
				
			||||||
        expect(result.argsArray[0][0]).toEqual(5);
 | 
					        expect(result.argsArray[0][0]).toEqual(5);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user