Skip to content

Commit dc5928c

Browse files
committed
Merge pull request reworkcss#9 from rstacruz/patch-5
Handle keyframe names with no whitespace
2 parents 77f7a50 + 96e0fe3 commit dc5928c

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)