diff --git a/bower.json b/bower.json index 8442892..47997b5 100644 --- a/bower.json +++ b/bower.json @@ -1,23 +1,24 @@ { - "name": "dat.gui", - "version": "0.0.0", - "description": "Attempt at revamping dat.gui with Polymer.", - "keywords": [ - "gui" - ], - "authors": [ - "George Michael Brower" - ], - "license": "MIT", - "private": true, - "main": "gui.html", - "ignore": [ - "**/.*", - "node_modules", - "tests", - "docs" - ], - "dependencies": { - "polymer": "Polymer/polymer#>=0.4.0" - } + "name": "dat.gui", + "version": "0.0.0", + "description": "Attempt at revamping dat.gui with Polymer.", + "keywords": [ + "gui" + ], + "authors": [ + "George Michael Brower" + ], + "license": "MIT", + "private": true, + "main": "dat-gui.html", + "ignore": [ + "**/.*", + "node_modules", + "tests", + "docs" + ], + "dependencies": { + "polymer": "Polymer/polymer#>=0.4.0", + "platform": "Polymer/platform#>=0.4.0" + } } diff --git a/build/dat-gui.html b/build/dat-gui.html index eaffc09..cd99885 100644 --- a/build/dat-gui.html +++ b/build/dat-gui.html @@ -1,8 +1,4 @@ - +
Download the minified library and include it in your html.
-<script src="dat-gui.js"></script>
+<script src="gui.js"></script>
Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable's initial value.
var gui = new Gui();
@@ -186,7 +186,7 @@ Gui.register( 'dat-gui-number', function( value ) {
$ bower install gui-three
Include the source for the third-party controllers after dat-gui.
-<script src="dat-gui.js"></script>
+<script src="gui.js"></script>
<script src="gui-three.js"></script>