1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

refactoring rem function

This commit is contained in:
Alex Windett 2016-10-28 16:39:35 +01:00
parent c7a7da2e85
commit 7ccf427966

View File

@ -1,7 +1,6 @@
module.exports = { module.exports = {
remCalc: function(values) { remCalc: function(values) {
values = values.replace('px', ''); values = values.replace('px', '').split(' ');
values = values.split(' ');
let outputRems = ''; let outputRems = '';
const base = 16; const base = 16;