file tree rearrangement, reformatting, cleanup
This commit is contained in:
1 parent
029c391382
commit
f0bb67693d
74 files changed
+365
-397
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1750,7 +1750,8 @@ var Config = {
|
||||
notif: new Audio('unsure.mp3'), // notification sound object
|
||||
treeDepth: 4, // tree visualization Depth
|
||||
socket: undefined, // socket connection object
|
||||
cons: [] // cons list
|
||||
cons: [], // cons list
|
||||
serviceWorker: false // enable serviceWorker
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
@@ -1761,7 +1762,7 @@ $(document).ready(function(){
|
||||
Config.cons.push(new Con()); // init new Con
|
||||
con = Config.cons[0]; // attach main Con to 'con' variable (for easier debugging)
|
||||
|
||||
if('serviceWorker' in navigator){ // check is serviceWorker is available
|
||||
if('serviceWorker' in navigator && Config.serviceWorker){ // check is serviceWorker is available
|
||||
navigator.serviceWorker
|
||||
.register('service-worker.js')
|
||||
.then(reg => console.log('sw registered'))
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user