Started seperating the main.go package into multiple packages

This commit is contained in:
deranjer committed 2017-12-17 21:49:32 -05:00
1 parent c408801447
commit b7c5032c37
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
package main
package settings
import (
"github.com/anacrolix/dht"
View File
File renamed without changes.
@@ -41,12 +41,12 @@ ws.onmessage = function (evt) { //When we recieve a message from the websocket
BytesCompleted: clientUpdate.data[i].BytesCompleted,
ActivePeers: clientUpdate.data[i].ActivePeers,
ETA: clientUpdate.data[i].ETA,
})
}
})
}
var newTitle = '(' + clientUpdate.total + ')' + title; //updating the title
document.title = newTitle;
} else if (clientUpdate) {
}
}