This commit is contained in:
eight 2018-11-19 00:24:35 +08:00
parent d1dd9d9e3c
commit df18b50fa6

View File

@ -215,15 +215,6 @@ const colorConverter = (() => {
} }
})(); })();
colorConverter.angles = {
deg: 1,
grad: 360 / 400,
rad: 180 / Math.PI,
turn: 360
};
colorConverter.anglesRegexp = new RegExp(Object.keys(colorConverter.angles).join('|'));
colorConverter.NAMED_COLORS = new Map([ colorConverter.NAMED_COLORS = new Map([
['transparent', 'rgba(0, 0, 0, 0)'], ['transparent', 'rgba(0, 0, 0, 0)'],
// CSS4 named colors // CSS4 named colors