Home | History | Annotate | Download | only in commonjs
      1 /**
      2  * @fileoverview Export symbols needed by generated code in CommonJS style.
      3  *
      4  * This effectively is our canonical list of what we publicly export from
      5  * the google-protobuf.js file that we build at distribution time.
      6  */
      7 
      8 goog.require('goog.object');
      9 goog.require('jspb.BinaryReader');
     10 goog.require('jspb.BinaryWriter');
     11 goog.require('jspb.ExtensionFieldInfo');
     12 goog.require('jspb.Message');
     13 
     14 exports.Message = jspb.Message;
     15 exports.BinaryReader = jspb.BinaryReader;
     16 exports.BinaryWriter = jspb.BinaryWriter;
     17 exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo;
     18 
     19 // These are used by generated code but should not be used directly by clients.
     20 exports.exportSymbol = goog.exportSymbol;
     21 exports.inherits = goog.inherits;
     22 exports.object = {extend: goog.object.extend};
     23