Ask coding questions

← Back to all posts
Script error.
s120731

I ran a solution to a code but I kept receiving the script error below and I do not know what it means. I need help Please:

ReferenceError: Detector is not defined
@/:53:9

Voters
s120731
Comments
hotnewtop
KHZ

Try changing the condition of if (Detector.webgl) on line 53 of your html file index.html to (WEBGL.isWebGLAvailable()). This should make it work. I don't know about Detector module of 3js so can't help if you want to use it anyway.