Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / protobufjs / src / index-minimal.js
1 "use strict";
2 var protobuf = exports;
3
4 /**
5  * Build type, one of `"full"`, `"light"` or `"minimal"`.
6  * @name build
7  * @type {string}
8  * @const
9  */
10 protobuf.build = "minimal";
11
12 // Serialization
13 protobuf.Writer       = require("./writer");
14 protobuf.BufferWriter = require("./writer_buffer");
15 protobuf.Reader       = require("./reader");
16 protobuf.BufferReader = require("./reader_buffer");
17
18 // Utility
19 protobuf.util         = require("./util/minimal");
20 protobuf.rpc          = require("./rpc");
21 protobuf.roots        = require("./roots");
22 protobuf.configure    = configure;
23
24 /* istanbul ignore next */
25 /**
26  * Reconfigures the library according to the environment.
27  * @returns {undefined}
28  */
29 function configure() {
30     protobuf.util._configure();
31     protobuf.Writer._configure(protobuf.BufferWriter);
32     protobuf.Reader._configure(protobuf.BufferReader);
33 }
34
35 // Set up buffer utility according to the environment
36 configure();