Skip to content

Commit

Permalink
Merge pull request #8983 from Snuffleupagus/rm-unused
Browse files Browse the repository at this point in the history
Remove unused helper code
  • Loading branch information
timvandermeij authored Oct 2, 2017
2 parents 50b1a91 + 5b67c75 commit ef02d3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/display/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ import { Metadata } from './metadata';
import { renderTextLayer } from './text_layer';
import { SVGGraphics } from './svg';

var isWorker = (typeof window === 'undefined');

// The global PDFJS object is now deprecated and will not be supported in
// the future. The members below are maintained for backward compatibility
// and shall not be extended or modified. If the global.js is included as
Expand Down Expand Up @@ -306,6 +304,5 @@ PDFJS.UnsupportedManager = _UnsupportedManager;

export {
globalScope,
isWorker,
PDFJS,
};
4 changes: 0 additions & 4 deletions src/shared/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,10 +800,6 @@ var Util = (function UtilClosure() {
return result;
};

Util.sign = function Util_sign(num) {
return num < 0 ? -1 : 1;
};

var ROMAN_NUMBER_MAP = [
'', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM',
'', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC',
Expand Down

0 comments on commit ef02d3d

Please sign in to comment.