Closed craigcosmo closed 8 years ago
I can't make anything out of this. Replicate the issue on jsfiddle or a similar service.
@darsain I think what he meant (without replying you your question) is that when running it like above, it'll crash. The Component package manager is no longer maintained, so he (and I) installed it "manually" by just including the files.
In "tooltip.js" you have several references to things like body.appendChild(this.element). At that point in time, "body" is null. By changing it to document.body.appendChild(this.element) it worked for me, but I presume that's also not how it's meant to be used?
PS: thanks for building this!
the error is body is null