Three.js: Create a method to print out current three.js version.

Created on 11 Oct 2016  路  2Comments  路  Source: mrdoob/three.js

Description of the problem

While it might be apparent in the direct site, it often happens that multiple versions of three.js might be floating around on your desktop or dev environments. A suggestion would be to create a simple method that would print out the current version of Three.js

Three.js version
  • [ ] Dev
  • [ X] r81
  • [ ] ...

    Browser
  • [x] All of them

  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer

    OS
  • [x] All of them

  • [ ] Windows
  • [ ] Linux
  • [ ] Android
  • [ ] IOS
    Hardware Requirements (graphics card, VR Device, ...)

Most helpful comment

You can do this:

console.log( THREE.REVISION );

All 2 comments

You can do this:

console.log( THREE.REVISION );

I did not know that. Thanks! This can obviously be closed then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akshaysrin picture akshaysrin  路  3Comments

zsitro picture zsitro  路  3Comments

clawconduce picture clawconduce  路  3Comments

jlaquinte picture jlaquinte  路  3Comments

makc picture makc  路  3Comments