From 05744e33ea844981745cec9556c30c1738e64776 Mon Sep 17 00:00:00 2001 From: Steve Carlson Date: Tue, 31 Mar 2020 14:06:49 -0700 Subject: [PATCH] Bail out when null values are encountered --- src/atomizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomizer.js b/src/atomizer.js index 49ebe162..034fbf2c 100644 --- a/src/atomizer.js +++ b/src/atomizer.js @@ -361,7 +361,7 @@ Atomizer.prototype.parseConfig = function (config/*:AtomizerConfig*/, options/*: treeo.declarations.filter = 'alpha(opacity=' + parseFloat(value, 10) * 100 + ')'; } } - if (value !== null) { + if (value !== null && treeo.declarations) { // value could be an object for custom classes with breakPoints // e.g. // 'custom': {