From 2851ce9b12cec3e0c25d055986e9f8ad16e256f1 Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Fri, 31 May 2024 22:19:05 +0000 Subject: [PATCH] Update jspp.js --- jspp.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/jspp.js b/jspp.js index 3fd3ce1..b404cf3 100644 --- a/jspp.js +++ b/jspp.js @@ -334,16 +334,9 @@ class JSPlusPlus { } require(jsURI) { - try { - let gen = new JSPlusPlus.General - gen.readInternetText(jsURI); - gen.exec(req); - } catch { - console.log(`Error! (Using Node.JS/Bun?) - - If on NodeJS or equivalent try: - 'let ${jsURI} = require("${jsURI}")'`) - } + let gen = new JSPlusPlus.General + gen.readInternetText(jsURI); + gen.exec(req); }