fix lessc optimization parsing

This commit is contained in:
cloudhead 2010-06-16 18:25:40 -04:00
parent 7a80774960
commit f3a3ece9c0

View File

@ -16,7 +16,7 @@ var options = {
args = args.filter(function (arg) {
var match;
if (match = arg.match(/^--?([a-z][a-z-]*)$/i)) { arg = match[1] }
if (match = arg.match(/^--?([a-z][0-9a-z-]*)$/i)) { arg = match[1] }
else { return arg }
switch (arg) {