Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4fdb54b

Browse files
hiepxanhai
authored andcommitted
update: parser.js to clarify error message
clarify error message by specify error variable
1 parent06006ec commit4fdb54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/parser.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ class Parser {
593593

594594
unknownWord(tokens){
595595
throwthis.input.error(
596-
'Unknown word',
596+
'Unexpected character "'+tokens[0][1]+'" in selector. Check CSS selector documentation for proper syntax.''Unknown word',
597597
{offset:tokens[0][2]},
598598
{offset:tokens[0][2]+tokens[0][1].length}
599599
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp