From b3ee0aa5c84e7c0f5203591e1507bd1015208925 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Thu, 15 Dec 2022 14:24:12 +0100 Subject: [PATCH] Use Node version 18 in Runkit examples --- docs/_includes/embed-scripts.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/_includes/embed-scripts.html b/docs/_includes/embed-scripts.html index a3c5b888c..b42fe96c7 100644 --- a/docs/_includes/embed-scripts.html +++ b/docs/_includes/embed-scripts.html @@ -24,7 +24,9 @@ element: element, // specify the source of the notebook source: javascriptAsString, - theme: "untilted-c3qcs6lijfuc" + theme: "untilted-c3qcs6lijfuc", + // some examples use ES2015 syntax not supported by the default Node 10 + nodeVersion: "18.x.x" }); })(); // IIFE - to avoid leaking variables