mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
fix global variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user