Skip to content

Commit 96e0fe3

Browse files
committed
Handle keyframe names with no whitespace
Takes care of things like `@keyframes rotate{...}` where there's no space before the {.
1 parent 77f7a50 commit 96e0fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ module.exports = function(css){
153153
var vendor = m[1];
154154

155155
// identifier
156-
var m = match(/^([-\w]+)\s+/);
156+
var m = match(/^([-\w]+)\s*/);
157157
if (!m) return;
158158
var name = m[1];
159159

0 commit comments

Comments
 (0)