We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf123a3 commit 88b7d06Copy full SHA for 88b7d06
parser.js
@@ -341,7 +341,7 @@ function Function(name) {
341
}
342
Function.prototype = new CSSParserRule;
343
Function.prototype.ruleType = "FUNCTION";
344
-FunctionArg.prototype.toJSON = function() {
+Function.prototype.toJSON = function() {
345
return {type:'func', name:this.name, value:this.value.map(function(e){return e.toJSON();})};
346
347
@@ -353,4 +353,4 @@ FunctionArg.prototype = new CSSParserRule;
353
FunctionArg.prototype.ruleType = "FUNCTION-ARG";
354
FunctionArg.prototype.toJSON = function() {
355
return this.value.map(function(e){return e.toJSON();});
356
-}
+}
0 commit comments