added ms
unit
This commit is contained in:
parent
b60c296e6e
commit
c8b11c7796
@ -238,7 +238,7 @@ less.parser = {
|
|||||||
var number, unit;
|
var number, unit;
|
||||||
|
|
||||||
number = $(/-?[0-9]*\.?[0-9]+/g);
|
number = $(/-?[0-9]*\.?[0-9]+/g);
|
||||||
unit = $(/(?:px|%|em|pc|ex|in|deg|s|pt|cm|mm)/g);
|
unit = $(/(?:px|%|em|pc|ex|in|deg|s|ms|pt|cm|mm)/g);
|
||||||
|
|
||||||
if (number) { return new(node.Dimension)(number, unit) }
|
if (number) { return new(node.Dimension)(number, unit) }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user