fix global variable

This commit is contained in:
revolunet
2011-08-18 13:31:10 +02:00
parent 8d362649c0
commit a77fbd190f

View File

@@ -475,7 +475,7 @@ less.Parser = function Parser(env) {
// black border-collapse
//
keyword: function () {
var k;
var k, rgb;
if (k = $(/^[A-Za-z-]+/)) {
if (tree.colors.hasOwnProperty(k)) {
// detect named color