Remove the unused Util.sign function from src/shared/util.js

This has been completely unused since commit 10bb6c9ec0, in PR 2505, more than four and a half years ago.
This commit is contained in:
Jonas Jenwald 2017-10-01 15:57:18 +02:00
parent 65352c730f
commit 5b67c7594c

View File

@ -800,10 +800,6 @@ var Util = (function UtilClosure() {
return result; return result;
}; };
Util.sign = function Util_sign(num) {
return num < 0 ? -1 : 1;
};
var ROMAN_NUMBER_MAP = [ var ROMAN_NUMBER_MAP = [
'', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM', '', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM',
'', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC', '', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC',