From 50bdf88fef1c1bb64cd66b24c9e27a857f5637bf Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 21 Jul 2025 23:01:49 +0200 Subject: [PATCH] Mon 21 Jul 22:43:21 CEST 2025 --- js/x11/core/examples/smoketest/listext.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 js/x11/core/examples/smoketest/listext.js diff --git a/js/x11/core/examples/smoketest/listext.js b/js/x11/core/examples/smoketest/listext.js new file mode 100644 index 0000000..3944d5b --- /dev/null +++ b/js/x11/core/examples/smoketest/listext.js @@ -0,0 +1,10 @@ +var x11 = require('../../lib'); +var X = x11.createClient(); +X.on('connect', function(err, display) { + X.ListExtensions(function(err, list) { + list.forEach(function(ext) { + console.log(ext); + }); + X.terminate(); + }); +});