Allow - in classnames when using bem
This commit is contained in:
Родитель
cc2349fff6
Коммит
29c3cc62ab
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "vscode-emmet-helper",
|
||||
"version": "1.1.19",
|
||||
"version": "1.1.20",
|
||||
"description": "Helper to use emmet modules in Visual Studio Code",
|
||||
"main": "./out/emmetHelper.js",
|
||||
"types": "./out/emmetHelper.d.ts",
|
||||
|
|
|
@ -2127,8 +2127,8 @@ const defaultOptions$3 = {
|
|||
modifier: '_'
|
||||
};
|
||||
|
||||
const reElement = /^(-+)([a-z0-9]+)/i;
|
||||
const reModifier = /^(_+)([a-z0-9]+)/i;
|
||||
const reElement = /^(-+)([a-z0-9]+[a-z0-9-]*)/i;
|
||||
const reModifier = /^(_+)([a-z0-9]+[a-z0-9-]*)/i;
|
||||
const blockCandidates1 = className => /^[a-z]\-/i.test(className);
|
||||
const blockCandidates2 = className => /^[a-z]/i.test(className);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче