mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
small optimisation/fix todo
This commit is contained in:
@@ -1679,7 +1679,7 @@ var Parser = function Parser(env) {
|
||||
}
|
||||
}
|
||||
|
||||
if ((name.length > 1) && match(/^\s*((?:\+_|\+)?)\s*:/)) { //TODO remove start \s* - un-necessary
|
||||
if ((name.length > 1) && match(/^((?:\+_|\+)?)\s*:/)) {
|
||||
parserInput.forget();
|
||||
|
||||
// at last, we have the complete match now. move forward,
|
||||
|
||||
Reference in New Issue
Block a user