From 96968a647c764b3b3f63e79c8b82f92d735398c6 Mon Sep 17 00:00:00 2001 From: Denis Strigo Date: Sat, 28 Oct 2023 13:47:25 +0200 Subject: [PATCH] fix(docs): fix docs deployment (#3218) --- tools/gulp/docs/sass-export.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/gulp/docs/sass-export.ts b/tools/gulp/docs/sass-export.ts index 1cbe8119b5..f869843ad3 100644 --- a/tools/gulp/docs/sass-export.ts +++ b/tools/gulp/docs/sass-export.ts @@ -61,32 +61,32 @@ class SassExportFunction { get_value(a) { let value, i; switch (a.constructor.name) { - case 'SassList': + case 'sass.types.List': value = []; for (i = 0; i < a.getLength(); i++) { value.push(this.get_value(a.getValue(i))); } break; - case 'SassMap': + case 'sass.types.Map': value = {}; for (i = 0; i < a.getLength(); i++) { value[a.getKey(i).getValue()] = this.get_value(a.getValue(i)); } break; - case 'SassColor': + case 'sass.types.Color': if (1 === a.getA()) { value = Colors.rgb2hex(a.getR(), a.getG(), a.getB()); } else { value = 'rgba(' + a.getR() + ', ' + a.getG() + ', ' + a.getB() + ', ' + a.getA() + ')'; } break; - case 'SassNumber': + case 'sass.types.Number': value = a.getValue(); if (a.getUnit()) { value += a.getUnit(); } break; - case 'SassNull': + case '_SassNull0': value = null; break; default: