Skip to content

Commit

Permalink
refactor: remove unnecessary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 19, 2019
1 parent 190f9bc commit 4b30cdb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,13 +813,6 @@ export default class Parser {
this.position ++;
let current = this.content();
word += current;
if (current.lastIndexOf('\\') === current.length - 1) {
let next = this.nextToken;
if (next && next[TOKEN.TYPE] === tokens.space) {
word += this.requiredSpace(this.content(next));
this.position ++;
}
}
nextToken = this.nextToken;
}
const hasClass = indexesOf(word, '.').filter(i => word[i - 1] !== '\\');
Expand Down

0 comments on commit 4b30cdb

Please sign in to comment.