Clean up Torrent class and related utils

This commit is contained in:
John Furrow
2016-08-13 21:31:24 -07:00
parent a4dbaccc08
commit 5e1741e570
3 changed files with 45 additions and 50 deletions
+1
View File
@@ -7,6 +7,7 @@ const FORMAT_UTIL = {
},
parsePeers: (string) => {
// This lovely delimiter is defined in clientUtil.
let markerPosition = string.indexOf('@!@');
return string.substr(0, markerPosition);
},