Update CommonJS example.

This commit is contained in:
Don McCurdy 2018-01-21 14:19:28 -08:00 committed by GitHub
parent c24cf60105
commit 803a0e46b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ $ npm install --save dat.gui
``` ```
```js ```js
const dat = require('dat.gui').default; const dat = require('dat.gui');
const gui = new dat.GUI(); const gui = new dat.GUI();
``` ```