screnshaw
03/23/2022, 5:54 PMSandii
03/23/2022, 6:01 PMscottvonduhn
03/23/2022, 6:03 PMSandii
03/23/2022, 6:05 PMscrenshaw
03/23/2022, 6:40 PMSandii
03/23/2022, 6:40 PMscrenshaw
03/23/2022, 6:41 PMFail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"UNEXPECTED_ERROR","message":"syntax error (/SuiteScripts/AccentDecor/Libs/ExternalLibs/JSONXML/jsonxml.js#25)","stack":[]}
So a 2.1 script is importing a library js file that imports another library js file. Have y'all seen this before?
function jsonxml(obj, options = {}) {}
Shawn Talbert
03/23/2022, 7:09 PMscrenshaw
03/23/2022, 7:13 PMdefine([], function () {
const jsonxml = (obj, options) => {
};
return jsonxml;
});
scottvonduhn
03/23/2022, 7:22 PMreturn { jsonxml };
screnshaw
03/23/2022, 7:25 PM