mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-31 19:21:22 +00:00
19 lines
455 B
JavaScript
19 lines
455 B
JavaScript
"use strict";
|
|
module.exports = {};
|
|
|
|
/**
|
|
* Named roots.
|
|
* This is where pbjs stores generated structures (the option `-r, --root` specifies a name).
|
|
* Can also be used manually to make roots available accross modules.
|
|
* @name roots
|
|
* @type {Object.<string,Root>}
|
|
* @example
|
|
* // pbjs -r myroot -o compiled.js ...
|
|
*
|
|
* // in another module:
|
|
* require("./compiled.js");
|
|
*
|
|
* // in any subsequent module:
|
|
* var root = protobuf.roots["myroot"];
|
|
*/
|