protobuf/js/commonjs/export.js

23 lines
774 B
JavaScript
Raw Normal View History

2016-02-02 23:18:34 +00:00
/**
* @fileoverview Export symbols needed by generated code in CommonJS style.
2016-02-04 22:58:45 +00:00
*
* This effectively is our canonical list of what we publicly export from
* the google-protobuf.js file that we build at distribution time.
2016-02-02 23:18:34 +00:00
*/
2016-02-16 23:29:49 +00:00
goog.require('goog.object');
goog.require('jspb.BinaryReader');
goog.require('jspb.BinaryWriter');
goog.require('jspb.ExtensionFieldInfo');
goog.require('jspb.Message');
2016-02-04 18:29:27 +00:00
exports.Message = jspb.Message;
exports.BinaryReader = jspb.BinaryReader;
exports.BinaryWriter = jspb.BinaryWriter;
exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo;
// These are used by generated code but should not be used directly by clients.
2016-02-04 18:29:27 +00:00
exports.exportSymbol = goog.exportSymbol;
exports.inherits = goog.inherits;
exports.object = {extend: goog.object.extend};