暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
dienianindya 2ce56fd9e5 Update 31/01 1年前
..
README.md Update 31/01 1年前
protobuf.js Update 31/01 1年前
protobuf.js.map Update 31/01 1年前
protobuf.min.js Update 31/01 1年前
protobuf.min.js.map Update 31/01 1年前

README.md

This folder contains prebuilt browser versions of the minimal library suitable for use with statically generated code only. When sending pull requests, it is not required to update these.

Prebuilt files are in source control to enable pain-free frontend respectively CDN usage:

CDN usage

Development:

<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/minimal/protobuf.js"></script>

Production:

<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/minimal/protobuf.min.js"></script>

NOTE: Remember to replace the version tag with the exact release your project depends upon.

Frontend usage

Development:

<script src="node_modules/protobufjs/dist/minimal/protobuf.js"></script>

Production:

<script src="node_modules/protobufjs/dist/minimal/protobuf.min.js"></script>