Ver código fonte

Update binarypack

ericz 11 anos atrás
pai
commit
6b3cde8381
3 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      deps/js-binarypack
  2. 1 1
      dist/peer.js
  3. 0 0
      dist/peer.min.js

+ 1 - 1
deps/js-binarypack

@@ -1 +1 @@
-Subproject commit 37b9ea6e44284f071154aa698efb1472b61800c6
+Subproject commit 6d2ef54c2be76a1da0d4635cdb180182d30629fa

+ 1 - 1
dist/peer.js

@@ -353,7 +353,7 @@ Packer.prototype.pack = function(value){
         }
       } else if ('BYTES_PER_ELEMENT' in value){
         if(binaryFeatures.useArrayBufferView) {
-          this.pack_bin(value);
+          this.pack_bin(new Uint8Array(value.buffer));
         } else {
           this.pack_bin(value.buffer);
         }

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/peer.min.js


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff