Minified version: Make it possible to override localStorage namespace, falling back to the old bad default for now. Plus docs on building.

This commit is contained in:
kristoffer 2016-07-08 16:12:12 +02:00
parent da5489dcad
commit cd29392407
3 changed files with 28 additions and 28 deletions

View File

@ -56,7 +56,7 @@ $ node build_gui.js
This will create a namespaced, unminified build of dat.GUI at `build/dat.gui.js`
_To export minified source using Closure Compiler, open `utils/build_gui.js` and set the `minify` parameter to `true`._
_To export minified source using Closure Compiler, open `utils/build_gui.js` and set the `minify` parameter to `true` and change the name of the `out` parameter._
----

52
build/dat.gui.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@ require('./builder.js').build({
"baseUrl": "../src/",
"main": "dat/gui/GUI",
"out": "../build/dat.gui.js",
"minify": true,
"minify": false,
"shortcut": "dat.GUI",
"paths": {}
});