I am having the following error while integrating tree legend Demo in my Project.
The following Javascript error is coming.
TypeError: invalid 'instanceof' operand ol.layer.Base
Please provide help. My code is copy paste from Tree Legend Demo of GeoExt3 from Git Hub.