Parcourir la source

get rid of port stuff

Michelle Bu il y a 12 ans
Parent
commit
fe6bde51bb
3 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0 3
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 0 3
      lib/util.js

+ 0 - 3
dist/peer.js

@@ -749,9 +749,6 @@ var util = {
   },
   pack: BinaryPack.pack,
   unpack: BinaryPack.unpack,
-  randomPort: function() {
-    return Math.round(Math.random() * 60535) + 5000;
-  },
 
   log: function () {
     if (util.debug) {

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/peer.min.js


+ 0 - 3
lib/util.js

@@ -29,9 +29,6 @@ var util = {
   },
   pack: BinaryPack.pack,
   unpack: BinaryPack.unpack,
-  randomPort: function() {
-    return Math.round(Math.random() * 60535) + 5000;
-  },
 
   log: function () {
     if (util.debug) {

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff