From cc709cf9eb0ff7debc881189f9f8bb26432785cb Mon Sep 17 00:00:00 2001 From: Stephen Morrison Date: Wed, 26 Jun 2013 18:00:12 -0400 Subject: [PATCH] adding support for @keyframes name with quotes around it --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8c40738..e861b9b 100644 --- a/index.js +++ b/index.js @@ -258,7 +258,7 @@ module.exports = function(css, options){ var vendor = m[1]; // identifier - var m = match(/^([-\w]+)\s*/); + var m = match(/^'?([-\w]+)'?\s*/); if (!m) return error("@keyframes missing name"); var name = m[1];