update readme and example to point to dat.gui.min.js

This commit is contained in:
Jeff Nusz 2016-08-17 12:13:48 -07:00
parent 0b21a06c56
commit 20b6b120df
2 changed files with 3 additions and 5 deletions

View File

@ -3,16 +3,14 @@ A lightweight graphical user interface for changing variables in JavaScript.
Get started with dat.GUI by reading the tutorial at http://workshop.chromeexperiments.com/examples/gui.
## Live demo
Simple live demo [is available here](http://korczis.github.io/dat.gui-ng/).
[Change Log](CHANGELOG.md)
## Packaged Builds
The easiest way to use dat.GUI in your code is by using the built source at `build/dat.gui.min.js`. These built JavaScript files bundle all the necessary dependencies to run dat.GUI.
In your `head` tag, include the following code:
```
<script type="text/javascript" src="dat.gui.js"></script>
<script type="text/javascript" src="dat.gui.min.js"></script>
```
## Directory Contents

View File

@ -3,7 +3,7 @@
<head>
</head>
<body>
<script type="text/javascript" src="build/dat.gui.js"></script>
<script type="text/javascript" src="build/dat.gui.min.js"></script>
<script type="text/javascript">
var obj = {
example: {