Skip to content

Commit cc709cf

Browse files
committed
adding support for @Keyframes name with quotes around it
1 parent e9f534c commit cc709cf

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
@@ -258,7 +258,7 @@ module.exports = function(css, options){
258258
var vendor = m[1];
259259

260260
// identifier
261-
var m = match(/^([-\w]+)\s*/);
261+
var m = match(/^'?([-\w]+)'?\s*/);
262262
if (!m) return error("@keyframes missing name");
263263
var name = m[1];
264264

0 commit comments

Comments
 (0)