diff options
Diffstat (limited to 'frontend-old/node_modules/protobufjs/src/roots.js')
| -rw-r--r-- | frontend-old/node_modules/protobufjs/src/roots.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend-old/node_modules/protobufjs/src/roots.js b/frontend-old/node_modules/protobufjs/src/roots.js new file mode 100644 index 0000000..1d93086 --- /dev/null +++ b/frontend-old/node_modules/protobufjs/src/roots.js @@ -0,0 +1,18 @@ +"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 across 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"]; + */ |
