This commit is contained in:
George Michael Brower 2014-09-02 21:55:33 -04:00
parent 542517793f
commit f21e50f041
2 changed files with 2 additions and 7 deletions

View File

@ -7,10 +7,7 @@ dat-gui creates an interface that you can use to modify variables with very litt
Download the [minified library]( todo ) and include it in your html. Download the [minified library]( todo ) and include it in your html.
```html ```html
<script src="gui.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.3.4/platform.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/dat-gui/r3/gui.js"></script>
``` ```
Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable's initial value. Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable's initial value.

View File

@ -19,9 +19,7 @@
<p>dat-gui creates an interface that you can use to modify variables with very little code. </p> <p>dat-gui creates an interface that you can use to modify variables with very little code. </p>
<h3 id="basic-usage">Basic Usage</h3> <h3 id="basic-usage">Basic Usage</h3>
<p>Download the <a href="todo">minified library</a> and include it in your html.</p> <p>Download the <a href="todo">minified library</a> and include it in your html.</p>
<pre><code class="lang-html"> <pre><code class="lang-html">&lt;script src=&quot;gui.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;//cdnjs.cloudflare.com/ajax/libs/polymer/0.3.4/platform.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;//cdnjs.cloudflare.com/ajax/libs/dat-gui/r3/gui.js&quot;&gt;&lt;/script&gt;
</code></pre> </code></pre>
<p>Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable&#39;s initial value.</p> <p>Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable&#39;s initial value.</p>
<pre><code class="lang-javascript">var gui = new Gui(); <pre><code class="lang-javascript">var gui = new Gui();