Explorar el Código

Fix valueWriterFn variable name

Andy Hochhaus hace 9 años
padre
commit
a2174089b2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      js/map.js

+ 1 - 1
js/map.js

@@ -365,7 +365,7 @@ jspb.Map.prototype.serializeBinary = function(
       valueWriterFn.call(writer, 2, this.wrapEntry_(entry),
       valueWriterFn.call(writer, 2, this.wrapEntry_(entry),
                          opt_valueWriterCallback);
                          opt_valueWriterCallback);
     } else {
     } else {
-      valueWriterFn_.call(writer, 2, entry.value);
+      valueWriterFn.call(writer, 2, entry.value);
     }
     }
     writer.endSubMessage();
     writer.endSubMessage();
   }
   }