mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
update readme and example to point to dat.gui.min.js
This commit is contained in:
parent
0b21a06c56
commit
20b6b120df
@ -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
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user