Skip to content

Commit 6f61b2a

Browse files
committed
fix :fullscreen support
1 parent 10cfc65 commit 6f61b2a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/lexer.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
var pseudos = [
77
':selection',
8+
'fullscreen',
89
'nth-child',
910
'first-child',
1011
'last-child',
@@ -117,7 +118,7 @@ module.exports = function(str) {
117118
/**
118119
* Comment.
119120
*/
120-
121+
121122
function comment() {
122123
var m = str.match(/^\/\/([^\n]*)/);
123124
if (!m) return;
@@ -171,7 +172,7 @@ module.exports = function(str) {
171172
/**
172173
* Parent reference.
173174
*/
174-
175+
175176
function parent() {
176177
var m = str.match(/^ *&([^\n]*)/);
177178
if (!m) return;
@@ -203,4 +204,4 @@ module.exports = function(str) {
203204
m = m[0].split(/\s*,\s*/);
204205
return ['rule', m];
205206
}
206-
}
207+
}

0 commit comments

Comments
 (0)