Update jspp.js

This commit is contained in:
Sam Sneed 2024-05-31 22:15:27 +00:00 committed by GitHub
parent b87daef318
commit 3362ed61e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -335,9 +335,9 @@ class JSPlusPlus {
require(jsURI) {
try {
let jspp = new JSPlusPlus
jspp.readInternetText(jsURI);
jspp.exec(req);
let gen = new JSPlusPlus.General
gen.readInternetText(jsURI);
gen.exec(req);
} catch {
console.log(`Error! (Using Node.JS/Bun?)