Hi, guys.
I’d like to use GoJS to my bootstrap project. but I’m getting error. :(
JS file:
var $ = go.GraphObject.make;
var workflow = $(go.Diagram, “workflow”, {
initialContentAlignment: go.Spot.Center,
layout: $(go.TreeLayout, { angle: 90, layerSpacing: 35 })
});
EJS file:
Error:
Uncaught TypeError: Cannot read property ‘asScrollable’ of undefined
If remove all code in JS file, error is gone.
Any advice thanks.