Skip to content

Commit 4b30cdb

Browse files
refactor: remove unnecessary stuff
1 parent 190f9bc commit 4b30cdb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/parser.js

-7
Original file line numberDiff line numberDiff line change
@@ -813,13 +813,6 @@ export default class Parser {
813813
this.position ++;
814814
let current = this.content();
815815
word += current;
816-
if (current.lastIndexOf('\\') === current.length - 1) {
817-
let next = this.nextToken;
818-
if (next && next[TOKEN.TYPE] === tokens.space) {
819-
word += this.requiredSpace(this.content(next));
820-
this.position ++;
821-
}
822-
}
823816
nextToken = this.nextToken;
824817
}
825818
const hasClass = indexesOf(word, '.').filter(i => word[i - 1] !== '\\');

0 commit comments

Comments
 (0)