-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[less] Adjust less variable declaration & atrule parsing priority, fixes
- Loading branch information
1 parent
da53185
commit 952e715
Showing
4 changed files
with
604 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1,145 @@ | ||
{ | ||
"type": "stylesheet", | ||
"content": [ | ||
{ | ||
"type": "atrule", | ||
"content": [ | ||
{ | ||
"type": "atkeyword", | ||
"content": [ | ||
{ | ||
"type": "ident", | ||
"content": "image-url", | ||
"syntax": "less", | ||
"start": { | ||
"type": "stylesheet", | ||
"content": [{ | ||
"type": "declaration", | ||
"content": [{ | ||
"type": "property", | ||
"content": [{ | ||
"type": "variable", | ||
"content": [{ | ||
"type": "ident", | ||
"content": "image-url", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 10 | ||
} | ||
}], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 10 | ||
} | ||
}], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 10 | ||
} | ||
} | ||
], | ||
"syntax": "less", | ||
"start": { | ||
}, { | ||
"type": "propertyDelimiter", | ||
"content": ":", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 11 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 11 | ||
} | ||
}, { | ||
"type": "space", | ||
"content": " ", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 12 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 12 | ||
} | ||
}, { | ||
"type": "value", | ||
"content": [{ | ||
"type": "string", | ||
"content": "'../image'", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 13 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 22 | ||
} | ||
}], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 13 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 22 | ||
} | ||
}], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 10 | ||
} | ||
}, | ||
{ | ||
"type": "operator", | ||
"content": ":", | ||
"syntax": "less", | ||
"start": { | ||
"end": { | ||
"line": 1, | ||
"column": 11 | ||
}, | ||
"end": { | ||
"column": 22 | ||
} | ||
}, { | ||
"type": "declarationDelimiter", | ||
"content": ";", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 11 | ||
} | ||
"column": 23 | ||
}, | ||
{ | ||
"type": "space", | ||
"content": " ", | ||
"syntax": "less", | ||
"start": { | ||
"end": { | ||
"line": 1, | ||
"column": 12 | ||
}, | ||
"end": { | ||
"column": 23 | ||
} | ||
}, { | ||
"type": "space", | ||
"content": "\n", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 12 | ||
} | ||
"column": 24 | ||
}, | ||
{ | ||
"type": "string", | ||
"content": "'../image'", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 13 | ||
}, | ||
"end": { | ||
"end": { | ||
"line": 1, | ||
"column": 22 | ||
} | ||
"column": 24 | ||
} | ||
], | ||
"syntax": "less", | ||
"start": { | ||
}, { | ||
"type": "singlelineComment", | ||
"content": " Comment", | ||
"syntax": "less", | ||
"start": { | ||
"line": 2, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 10 | ||
} | ||
}], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 22 | ||
} | ||
}, | ||
{ | ||
"type": "declarationDelimiter", | ||
"content": ";", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 23 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 23 | ||
} | ||
}, | ||
{ | ||
"type": "space", | ||
"content": "\n", | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 24 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 24 | ||
} | ||
}, | ||
{ | ||
"type": "singlelineComment", | ||
"content": " Comment", | ||
"syntax": "less", | ||
"start": { | ||
"line": 2, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"end": { | ||
"line": 2, | ||
"column": 10 | ||
} | ||
} | ||
], | ||
"syntax": "less", | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"column": 10 | ||
} | ||
} | ||
} |
Oops, something went wrong.