add options to les.js

This commit is contained in:
masterex1000 2019-01-07 08:12:35 -07:00
parent 38b65ff9ea
commit 810692e2c1

View File

@ -31,11 +31,11 @@
*/
//NOTE: set to false is running from file in YOUR code DEFUALT: false
var USELOCALGUN = true;
var USELOCALGUN = false;
//NOTE: adds some debug messages DEFUALT: false
var DEBUG = true;
var DEBUG = false;
if(!(typeof window !== "undefined") && USELOCALGUN)
console.log("NOTE: You currently have LES.js set to use the 'local' file version of gun, This might crash if set wrong!");