Forráskód Böngészése

Update protobuf.js

Lutz Roeder 3 éve
szülő
commit
5822e8164d
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      source/protobuf.js

+ 2 - 2
source/protobuf.js

@@ -13,8 +13,8 @@ protobuf.get = (name) => {
 
 protobuf.BinaryReader = class {
 
-    static open(buffer) {
-        return new protobuf.BinaryReader(buffer);
+    static open(data) {
+        return new protobuf.BinaryReader(data);
     }
 
     constructor(data) {