From e42557eac77acb23ba45b3ac50e485a09633af19 Mon Sep 17 00:00:00 2001 From: SpaceComet Date: Thu, 19 Aug 2021 17:35:24 -0400 Subject: [PATCH] Sample in the playground updated. --- .../customizing-the-appearence/exposed-colors/sample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/playground/new-samples/customizing-the-appearence/exposed-colors/sample.js b/website/playground/new-samples/customizing-the-appearence/exposed-colors/sample.js index 0da824d6..24d5cc1c 100644 --- a/website/playground/new-samples/customizing-the-appearence/exposed-colors/sample.js +++ b/website/playground/new-samples/customizing-the-appearence/exposed-colors/sample.js @@ -140,7 +140,7 @@ monaco.editor.create(document.getElementById("container"), { 'peekViewEditor.matchHighlightBackground' // Match highlight color in the peek view editor. /* -var colors = require('vs/platform/registry/common/platform').Registry.data['base.contributions.colors'].colorSchema.properties +var colors = require('vs/platform/registry/common/platform').Registry.data.get('base.contributions.colors').colorSchema.properties Object.keys(colors).forEach(function(key) { var val = colors[key]; console.log( '//' + val.description + '\n' + key);