mirror of
https://github.com/yldio/copilot.git
synced 2024-11-30 23:20:06 +02:00
refactoring rem function
This commit is contained in:
parent
c7a7da2e85
commit
7ccf427966
@ -1,7 +1,6 @@
|
||||
module.exports = {
|
||||
remCalc: function(values) {
|
||||
values = values.replace('px', '');
|
||||
values = values.split(' ');
|
||||
values = values.replace('px', '').split(' ');
|
||||
|
||||
let outputRems = '';
|
||||
const base = 16;
|
||||
|
Loading…
Reference in New Issue
Block a user