added ms unit

This commit is contained in:
cloudhead 2010-02-26 10:36:26 -05:00
parent b60c296e6e
commit c8b11c7796

View File

@ -238,7 +238,7 @@ less.parser = {
var number, unit;
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) }
}