protobufjs 4.1.2 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +3 -1
- package/README.md +147 -25
- package/bin/pbjs +2 -2
- package/bower.json +3 -3
- package/cli/pbjs/targets/amd.js +1 -1
- package/cli/pbjs/targets/json.js +9 -1
- package/cli/pbjs/targets/proto.js +48 -24
- package/cli/pbjs/util.js +1 -1
- package/cli/pbjs.js +9 -2
- package/dist/README.md +10 -10
- package/dist/{ProtoBuf-light.js → protobuf-light.js} +207 -152
- package/dist/protobuf-light.min.js +94 -0
- package/dist/protobuf-light.min.js.gz +0 -0
- package/dist/protobuf-light.min.map +8 -0
- package/dist/{ProtoBuf.js → protobuf.js} +265 -175
- package/dist/protobuf.min.js +116 -0
- package/dist/protobuf.min.js.gz +0 -0
- package/dist/protobuf.min.map +8 -0
- package/docs/ProtoBuf.Builder.Message.html +1473 -967
- package/docs/ProtoBuf.Builder.Service.html +266 -197
- package/docs/ProtoBuf.Builder.html +758 -542
- package/docs/ProtoBuf.DotProto.Parser.html +223 -161
- package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
- package/docs/ProtoBuf.DotProto.html +20 -12
- package/docs/ProtoBuf.Element.html +554 -554
- package/docs/ProtoBuf.Map.html +158 -123
- package/docs/ProtoBuf.Reflect.Element.html +286 -143
- package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
- package/docs/ProtoBuf.Reflect.Enum.html +757 -537
- package/docs/ProtoBuf.Reflect.Extension.html +73 -56
- package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
- package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
- package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
- package/docs/ProtoBuf.Reflect.Message.html +919 -652
- package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
- package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
- package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
- package/docs/ProtoBuf.Reflect.Service.html +721 -511
- package/docs/ProtoBuf.Reflect.T.html +268 -197
- package/docs/ProtoBuf.Reflect.html +20 -12
- package/docs/ProtoBuf.Util.html +169 -118
- package/docs/ProtoBuf.html +840 -628
- package/docs/ProtoBuf.js.html +271 -180
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/index.html +7 -5
- package/docs/styles/jsdoc-default.css +95 -75
- package/docs/styles/prettify-tomorrow.css +1 -1
- package/donate.png +0 -0
- package/examples/protoify/json.js +123 -123
- package/examples/protoify/json.json +123 -123
- package/examples/websocket/server.js +4 -4
- package/externs/{ProtoBuf.js → protobuf.js} +933 -922
- package/index.js +1 -18
- package/jsdoc.json +1 -1
- package/package.json +11 -11
- package/protobuf.png +0 -0
- package/scripts/build.js +53 -58
- package/src/ProtoBuf/Builder/Message.js +18 -9
- package/src/ProtoBuf/Builder/Service.js +3 -0
- package/src/ProtoBuf/Builder.js +34 -10
- package/src/ProtoBuf/DotProto/Parser.js +58 -23
- package/src/ProtoBuf/Reflect/Element.js +17 -4
- package/src/ProtoBuf/Reflect/Message/Field.js +6 -5
- package/src/ProtoBuf/Reflect/Message.js +9 -4
- package/src/ProtoBuf/Util.js +116 -116
- package/src/bower.json +2 -2
- package/src/google/protobuf/descriptor.json +55 -15
- package/src/{ProtoBuf.js → protobuf.js} +0 -0
- package/src/wrap.js +4 -4
- package/tests/bench.txt +373 -373
- package/tests/complex.json +8 -1
- package/tests/custom-options.json +169 -169
- package/tests/extend.json +71 -71
- package/tests/imports-weak.proto +7 -0
- package/tests/imports.json +83 -83
- package/tests/nodeunit-browser/nodeunit.css +70 -70
- package/tests/nodeunit-browser/nodeunit.js +2108 -2108
- package/tests/options.json +32 -32
- package/tests/proto2js/Bar.json +46 -46
- package/tests/suite.js +107 -82
- package/ProtoBuf.png +0 -0
- package/dist/ProtoBuf-light.min.js +0 -87
- package/dist/ProtoBuf-light.min.js.gz +0 -0
- package/dist/ProtoBuf-light.min.map +0 -8
- package/dist/ProtoBuf.min.js +0 -108
- package/dist/ProtoBuf.min.js.gz +0 -0
- package/dist/ProtoBuf.min.map +0 -8
- package/externs/ByteBuffer.js +0 -767
- package/externs/Long.js +0 -328
- package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
- package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
- package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
- package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
- package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
- package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
- package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
- package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
- package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
- package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
- package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
- package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
- package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
- package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
- package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
- package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
- package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
- package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
- package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
- package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
- package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
- package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
- package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
- package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
- package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
- package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
- package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
- package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
- package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
- package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
- package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
- package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
- package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
- package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
- package/sandbox/gapi/test.js +0 -17
- package/sandbox/gapi/test.proto +0 -12
- package/sandbox/issue146/MyOptions.proto +0 -28
- package/sandbox/issue146/Sample.proto +0 -21
- package/sandbox/issue146/main.js +0 -3
- package/sandbox/issue147/enum.proto +0 -8
- package/sandbox/issue147/main.js +0 -3
- package/sandbox/issue182/commands.proto +0 -10
- package/sandbox/issue182/execute.js +0 -22
- package/sandbox/issue182/session_commands.proto +0 -14
- package/sandbox/issue289/A.proto +0 -8
- package/sandbox/issue289/B.proto +0 -8
- package/sandbox/issue289/common.proto +0 -5
- package/sandbox/issue289/main.js +0 -7
- package/sandbox/issue300/IAuth.proto +0 -14
- package/sandbox/issue300/Request.proto +0 -14
- package/sandbox/issue300/main.js +0 -26
- package/sandbox/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
- package/tests/gtfs-realtime.proto +0 -552
- package/webpack.config.js +0 -9
|
@@ -23,28 +23,38 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
<section>
|
|
27
28
|
|
|
28
29
|
<header>
|
|
29
|
-
<h2>
|
|
30
|
-
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a>.</span>
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
<h2>
|
|
32
|
+
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a>.</span>
|
|
33
|
+
|
|
34
|
+
Reflect
|
|
35
|
+
</h2>
|
|
36
|
+
|
|
34
37
|
|
|
35
38
|
</header>
|
|
36
39
|
|
|
37
40
|
<article>
|
|
38
41
|
<div class="container-overview">
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
43
|
|
|
43
44
|
<div class="description"><p>Reflection types.</p></div>
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
|
|
48
|
+
|
|
49
|
+
|
|
47
50
|
<dl class="details">
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
48
58
|
|
|
49
59
|
|
|
50
60
|
|
|
@@ -66,7 +76,7 @@
|
|
|
66
76
|
|
|
67
77
|
<dt class="tag-source">Source:</dt>
|
|
68
78
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
69
|
-
<a href="
|
|
79
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1399">line 1399</a>
|
|
70
80
|
</li></ul></dd>
|
|
71
81
|
|
|
72
82
|
|
|
@@ -87,8 +97,6 @@
|
|
|
87
97
|
|
|
88
98
|
|
|
89
99
|
|
|
90
|
-
|
|
91
|
-
|
|
92
100
|
<h3 class="subsection-title">Classes</h3>
|
|
93
101
|
|
|
94
102
|
<dl>
|
|
@@ -136,13 +144,13 @@
|
|
|
136
144
|
</div>
|
|
137
145
|
|
|
138
146
|
<nav>
|
|
139
|
-
<h2><a href="index.html">
|
|
147
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
|
|
140
148
|
</nav>
|
|
141
149
|
|
|
142
|
-
<br
|
|
150
|
+
<br class="clear">
|
|
143
151
|
|
|
144
152
|
<footer>
|
|
145
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
153
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
|
|
146
154
|
</footer>
|
|
147
155
|
|
|
148
156
|
<script> prettyPrint(); </script>
|
package/docs/ProtoBuf.Util.html
CHANGED
|
@@ -23,28 +23,38 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
<section>
|
|
27
28
|
|
|
28
29
|
<header>
|
|
29
|
-
<h2>
|
|
30
|
-
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a>.</span>
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
<h2>
|
|
32
|
+
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a>.</span>
|
|
33
|
+
|
|
34
|
+
Util
|
|
35
|
+
</h2>
|
|
36
|
+
|
|
34
37
|
|
|
35
38
|
</header>
|
|
36
39
|
|
|
37
40
|
<article>
|
|
38
41
|
<div class="container-overview">
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
43
|
|
|
43
44
|
<div class="description"><p>ProtoBuf utilities.</p></div>
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
|
|
48
|
+
|
|
49
|
+
|
|
47
50
|
<dl class="details">
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
48
58
|
|
|
49
59
|
|
|
50
60
|
|
|
@@ -66,7 +76,7 @@
|
|
|
66
76
|
|
|
67
77
|
<dt class="tag-source">Source:</dt>
|
|
68
78
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
69
|
-
<a href="
|
|
79
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line304">line 304</a>
|
|
70
80
|
</li></ul></dd>
|
|
71
81
|
|
|
72
82
|
|
|
@@ -88,8 +98,6 @@
|
|
|
88
98
|
|
|
89
99
|
|
|
90
100
|
|
|
91
|
-
|
|
92
|
-
|
|
93
101
|
|
|
94
102
|
|
|
95
103
|
|
|
@@ -97,34 +105,41 @@
|
|
|
97
105
|
|
|
98
106
|
<h3 class="subsection-title">Members</h3>
|
|
99
107
|
|
|
100
|
-
|
|
108
|
+
|
|
101
109
|
|
|
102
|
-
<
|
|
103
|
-
<h4 class="name" id="IS_NODE"><span class="type-signature">(static, constant) </span>IS_NODE<span class="type-signature"> :boolean</span></h4>
|
|
110
|
+
<h4 class="name" id=".IS_NODE"><span class="type-signature">(static, constant) </span>IS_NODE<span class="type-signature"> :boolean</span></h4>
|
|
104
111
|
|
|
105
|
-
|
|
106
|
-
</dt>
|
|
107
|
-
<dd>
|
|
108
|
-
|
|
109
|
-
<div class="description">
|
|
110
|
-
<p>Flag if running in node or not.</p>
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
112
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
<div class="description">
|
|
116
|
+
<p>Flag if running in node or not.</p>
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<h5>Type:</h5>
|
|
122
|
+
<ul>
|
|
123
|
+
<li>
|
|
124
|
+
|
|
119
125
|
<span class="param-type">boolean</span>
|
|
120
126
|
|
|
121
127
|
|
|
122
|
-
|
|
123
|
-
|
|
128
|
+
</li>
|
|
129
|
+
</ul>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<dl class="details">
|
|
136
|
+
|
|
124
137
|
|
|
125
138
|
|
|
126
139
|
|
|
127
|
-
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
128
143
|
|
|
129
144
|
|
|
130
145
|
|
|
@@ -146,7 +161,7 @@
|
|
|
146
161
|
|
|
147
162
|
<dt class="tag-source">Source:</dt>
|
|
148
163
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
149
|
-
<a href="
|
|
164
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line312">line 312</a>
|
|
150
165
|
</li></ul></dd>
|
|
151
166
|
|
|
152
167
|
|
|
@@ -158,39 +173,41 @@
|
|
|
158
173
|
</dl>
|
|
159
174
|
|
|
160
175
|
|
|
161
|
-
|
|
162
176
|
|
|
163
|
-
|
|
164
|
-
</dd>
|
|
165
177
|
|
|
166
|
-
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
167
181
|
|
|
168
182
|
|
|
169
183
|
|
|
170
184
|
<h3 class="subsection-title">Methods</h3>
|
|
171
185
|
|
|
172
|
-
|
|
186
|
+
|
|
173
187
|
|
|
174
|
-
<dt>
|
|
175
|
-
<h4 class="name" id="fetch"><span class="type-signature">(static) </span>fetch<span class="signature">(path, callback<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string|undefined}</span></h4>
|
|
176
188
|
|
|
177
189
|
|
|
178
|
-
</dt>
|
|
179
|
-
<dd>
|
|
180
190
|
|
|
181
|
-
|
|
182
|
-
<div class="description">
|
|
183
|
-
<p>Fetches a resource.</p>
|
|
184
|
-
</div>
|
|
185
|
-
|
|
191
|
+
<h4 class="name" id=".fetch"><span class="type-signature">(static) </span>fetch<span class="signature">(path, callback<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string|undefined}</span></h4>
|
|
186
192
|
|
|
187
193
|
|
|
188
194
|
|
|
189
|
-
|
|
190
195
|
|
|
196
|
+
|
|
197
|
+
<div class="description">
|
|
198
|
+
<p>Fetches a resource.</p>
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<h5>Parameters:</h5>
|
|
191
210
|
|
|
192
|
-
<h5>Parameters:</h5>
|
|
193
|
-
|
|
194
211
|
|
|
195
212
|
<table class="params">
|
|
196
213
|
<thead>
|
|
@@ -280,10 +297,20 @@
|
|
|
280
297
|
|
|
281
298
|
</tbody>
|
|
282
299
|
</table>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<dl class="details">
|
|
307
|
+
|
|
283
308
|
|
|
284
309
|
|
|
285
310
|
|
|
286
|
-
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
287
314
|
|
|
288
315
|
|
|
289
316
|
|
|
@@ -305,7 +332,7 @@
|
|
|
305
332
|
|
|
306
333
|
<dt class="tag-source">Source:</dt>
|
|
307
334
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
308
|
-
<a href="
|
|
335
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line350">line 350</a>
|
|
309
336
|
</li></ul></dd>
|
|
310
337
|
|
|
311
338
|
|
|
@@ -317,20 +344,20 @@
|
|
|
317
344
|
</dl>
|
|
318
345
|
|
|
319
346
|
|
|
320
|
-
|
|
321
347
|
|
|
322
|
-
|
|
323
348
|
|
|
324
|
-
|
|
325
349
|
|
|
326
|
-
|
|
327
350
|
|
|
328
|
-
|
|
329
351
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
<h5>Returns:</h5>
|
|
359
|
+
|
|
360
|
+
|
|
334
361
|
<div class="param-desc">
|
|
335
362
|
<p>Resource contents if callback is omitted (null if the request failed), else undefined.</p>
|
|
336
363
|
</div>
|
|
@@ -352,33 +379,35 @@
|
|
|
352
379
|
</dd>
|
|
353
380
|
</dl>
|
|
354
381
|
|
|
355
|
-
|
|
356
|
-
|
|
357
382
|
|
|
358
|
-
|
|
383
|
+
|
|
384
|
+
|
|
359
385
|
|
|
360
386
|
|
|
361
387
|
|
|
362
|
-
<dt>
|
|
363
|
-
<h4 class="name" id="toCamelCase"><span class="type-signature">(static) </span>toCamelCase<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
|
|
364
388
|
|
|
365
389
|
|
|
366
|
-
</dt>
|
|
367
|
-
<dd>
|
|
368
390
|
|
|
369
|
-
|
|
370
|
-
<div class="description">
|
|
371
|
-
<p>Converts a string to camel case.</p>
|
|
372
|
-
</div>
|
|
373
|
-
|
|
391
|
+
<h4 class="name" id=".toCamelCase"><span class="type-signature">(static) </span>toCamelCase<span class="signature">(str)</span><span class="type-signature"> → {string}</span></h4>
|
|
374
392
|
|
|
375
393
|
|
|
376
394
|
|
|
377
|
-
|
|
378
395
|
|
|
396
|
+
|
|
397
|
+
<div class="description">
|
|
398
|
+
<p>Converts a string to camel case.</p>
|
|
399
|
+
</div>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
<h5>Parameters:</h5>
|
|
379
410
|
|
|
380
|
-
<h5>Parameters:</h5>
|
|
381
|
-
|
|
382
411
|
|
|
383
412
|
<table class="params">
|
|
384
413
|
<thead>
|
|
@@ -424,10 +453,20 @@
|
|
|
424
453
|
|
|
425
454
|
</tbody>
|
|
426
455
|
</table>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
<dl class="details">
|
|
463
|
+
|
|
427
464
|
|
|
428
465
|
|
|
429
466
|
|
|
430
|
-
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
431
470
|
|
|
432
471
|
|
|
433
472
|
|
|
@@ -449,7 +488,7 @@
|
|
|
449
488
|
|
|
450
489
|
<dt class="tag-source">Source:</dt>
|
|
451
490
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
452
|
-
<a href="
|
|
491
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line400">line 400</a>
|
|
453
492
|
</li></ul></dd>
|
|
454
493
|
|
|
455
494
|
|
|
@@ -461,20 +500,20 @@
|
|
|
461
500
|
</dl>
|
|
462
501
|
|
|
463
502
|
|
|
464
|
-
|
|
465
503
|
|
|
466
|
-
|
|
467
504
|
|
|
468
|
-
|
|
469
505
|
|
|
470
|
-
|
|
471
506
|
|
|
472
|
-
|
|
473
507
|
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
<h5>Returns:</h5>
|
|
515
|
+
|
|
516
|
+
|
|
478
517
|
|
|
479
518
|
|
|
480
519
|
<dl>
|
|
@@ -489,34 +528,45 @@
|
|
|
489
528
|
</dd>
|
|
490
529
|
</dl>
|
|
491
530
|
|
|
492
|
-
|
|
493
|
-
|
|
494
531
|
|
|
495
|
-
|
|
532
|
+
|
|
533
|
+
|
|
496
534
|
|
|
497
535
|
|
|
498
536
|
|
|
499
|
-
<dt>
|
|
500
|
-
<h4 class="name" id="XHR"><span class="type-signature">(static) </span>XHR<span class="signature">()</span><span class="type-signature"> → {XMLHttpRequest}</span></h4>
|
|
501
537
|
|
|
502
538
|
|
|
503
|
-
</dt>
|
|
504
|
-
<dd>
|
|
505
539
|
|
|
506
|
-
|
|
507
|
-
<div class="description">
|
|
508
|
-
<p>Constructs a XMLHttpRequest object.</p>
|
|
509
|
-
</div>
|
|
510
|
-
|
|
540
|
+
<h4 class="name" id=".XHR"><span class="type-signature">(static) </span>XHR<span class="signature">()</span><span class="type-signature"> → {XMLHttpRequest}</span></h4>
|
|
511
541
|
|
|
512
542
|
|
|
513
543
|
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<div class="description">
|
|
547
|
+
<p>Constructs a XMLHttpRequest object.</p>
|
|
548
|
+
</div>
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<dl class="details">
|
|
563
|
+
|
|
514
564
|
|
|
515
565
|
|
|
516
566
|
|
|
517
567
|
|
|
518
568
|
|
|
519
|
-
|
|
569
|
+
|
|
520
570
|
|
|
521
571
|
|
|
522
572
|
|
|
@@ -538,7 +588,7 @@
|
|
|
538
588
|
|
|
539
589
|
<dt class="tag-source">Source:</dt>
|
|
540
590
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
541
|
-
<a href="
|
|
591
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line322">line 322</a>
|
|
542
592
|
</li></ul></dd>
|
|
543
593
|
|
|
544
594
|
|
|
@@ -550,25 +600,26 @@
|
|
|
550
600
|
</dl>
|
|
551
601
|
|
|
552
602
|
|
|
553
|
-
|
|
554
603
|
|
|
555
|
-
|
|
556
604
|
|
|
557
|
-
|
|
558
605
|
|
|
559
|
-
|
|
560
606
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
<h5>Throws:</h5>
|
|
613
|
+
|
|
614
|
+
|
|
565
615
|
|
|
566
616
|
<dl>
|
|
567
617
|
<dt>
|
|
568
618
|
<div class="param-desc">
|
|
569
|
-
If XMLHttpRequest is not supported
|
|
619
|
+
<p>If XMLHttpRequest is not supported</p>
|
|
570
620
|
</div>
|
|
571
621
|
</dt>
|
|
622
|
+
<dd></dd>
|
|
572
623
|
<dt>
|
|
573
624
|
<dl>
|
|
574
625
|
<dt>
|
|
@@ -582,15 +633,16 @@
|
|
|
582
633
|
</dd>
|
|
583
634
|
</dl>
|
|
584
635
|
</dt>
|
|
636
|
+
<dd></dd>
|
|
585
637
|
</dl>
|
|
586
638
|
|
|
587
639
|
|
|
588
|
-
|
|
589
|
-
|
|
590
640
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
<h5>Returns:</h5>
|
|
644
|
+
|
|
645
|
+
|
|
594
646
|
|
|
595
647
|
|
|
596
648
|
<dl>
|
|
@@ -605,12 +657,11 @@
|
|
|
605
657
|
</dd>
|
|
606
658
|
</dl>
|
|
607
659
|
|
|
608
|
-
|
|
609
|
-
|
|
610
660
|
|
|
611
|
-
</dd>
|
|
612
661
|
|
|
613
|
-
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
614
665
|
|
|
615
666
|
|
|
616
667
|
|
|
@@ -626,13 +677,13 @@
|
|
|
626
677
|
</div>
|
|
627
678
|
|
|
628
679
|
<nav>
|
|
629
|
-
<h2><a href="index.html">
|
|
680
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
|
|
630
681
|
</nav>
|
|
631
682
|
|
|
632
|
-
<br
|
|
683
|
+
<br class="clear">
|
|
633
684
|
|
|
634
685
|
<footer>
|
|
635
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
686
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
|
|
636
687
|
</footer>
|
|
637
688
|
|
|
638
689
|
<script> prettyPrint(); </script>
|