dat.gui/example.html
anvaka 97adbace4d Migrateed to commonjs format
This build makes dat.gui commonjs friendly and allows it to be consumed
as a regular commonjs package.

All tests are passing, API is backward compatible.
2015-04-16 23:15:24 -07:00

14 lines
253 B
HTML

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript" src="build/dat.gui.min.js"></script>
<script type="text/javascript">
var obj = { x: 5 };
var gui = new dat.GUI();
gui.add(obj, 'x');
</script>
</body>
</html>