Has anyone used a js flow diagram library in Suite...
# suitescript
r
Has anyone used a js flow diagram library in SuiteScript? I tried using GoJS and it's not loading. I'm assuming it's not AMD compliant.
b
it looks amd compatible
occasionally libraries designed for the browser or node fail when netsuite evaluates the file for entrypoints
usually you can work around that by using the require function inside an if statement to make sure the module only runs inside a browser