google-closure-compiler 20161024.3.0 → 20170409.0.0
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/README.md +327 -0
- package/compiler.jar +0 -0
- package/contrib/externs/angular-1.3-resource.js +6 -0
- package/contrib/externs/angular-1.3.js +4 -3
- package/contrib/externs/angular-1.4-resource.js +6 -0
- package/contrib/externs/angular-1.4.js +2 -2
- package/contrib/externs/angular-1.5-q_templated.js +19 -1
- package/contrib/externs/angular-1.5-resource.js +6 -0
- package/contrib/externs/angular-1.5.js +44 -9
- package/contrib/externs/angular-1.6-http-promise_templated.js +61 -0
- package/contrib/externs/angular-1.6-mocks.js +267 -0
- package/contrib/externs/angular-1.6-q_templated.js +194 -0
- package/contrib/externs/angular-1.6-resource.js +332 -0
- package/contrib/externs/{w3c_css.js → angular-1.6-test.js} +8 -6
- package/contrib/externs/angular-1.6.js +2646 -0
- package/contrib/externs/angular-cache-4.6.js +316 -0
- package/contrib/externs/angular-material-1.1.js +92 -33
- package/contrib/externs/angular-material.js +36 -5
- package/contrib/externs/chai-3.5.js +101 -2
- package/contrib/externs/chrome_extensions.js +267 -95
- package/contrib/externs/jasmine-2.0.js +23 -3
- package/contrib/externs/jquery-1.4.4.js +1 -1
- package/contrib/externs/jquery-1.5.js +1 -1
- package/contrib/externs/jquery-1.6.js +1 -1
- package/contrib/externs/jquery-3.0.js +2037 -0
- package/contrib/externs/jquery-3.1.js +2045 -0
- package/contrib/externs/maps/google_maps_api_v3.js +306 -263
- package/contrib/externs/maps/google_maps_api_v3_27.js +6732 -0
- package/contrib/externs/maps/google_maps_api_v3_28.js +6637 -0
- package/contrib/externs/maps/google_maps_api_v3_exp.js +41 -106
- package/contrib/externs/mocha-2.5.js +65 -14
- package/contrib/externs/polymer-1.0.js +43 -5
- package/contrib/externs/safari.js +58 -0
- package/contrib/externs/sinon-1.17.js +719 -10
- package/contrib/externs/sinon-chai-2.7.js +78 -0
- package/contrib/externs/w3c_eventsource.js +6 -17
- package/contrib/externs/web_component_tester-4.2.js +6 -0
- package/contrib/nodejs/crypto.js +6 -6
- package/lib/gulp/index.js +2 -2
- package/lib/node/closure-compiler.js +3 -1
- package/package.json +8 -9
- package/contrib/externs/jquery-1.3.2.externs.js +0 -714
- package/contrib/externs/w3c_gamepad.js +0 -91
- package/contrib/externs/w3c_midi.js +0 -293
- package/contrib/externs/w3c_pointer_events.js +0 -105
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2013 The Closure Compiler Authors.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @fileoverview Definitions for W3C's Gamepad specification.
|
|
19
|
-
* @see http://www.w3.org/TR/gamepad/
|
|
20
|
-
* @externs
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @return {!Array.<!Gamepad>}
|
|
25
|
-
*/
|
|
26
|
-
navigator.getGamepads = function() {};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @return {!Array.<!Gamepad>}
|
|
30
|
-
*/
|
|
31
|
-
navigator.webkitGetGamepads = function() {};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @interface
|
|
36
|
-
*/
|
|
37
|
-
var Gamepad = function() {};
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @type {string}
|
|
41
|
-
*/
|
|
42
|
-
Gamepad.prototype.id; // read-only
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @type {number}
|
|
46
|
-
*/
|
|
47
|
-
Gamepad.prototype.index; // read-only
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
*/
|
|
52
|
-
Gamepad.prototype.connected; // read-only
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @type {number}
|
|
56
|
-
*/
|
|
57
|
-
Gamepad.prototype.timestamp; // read-only
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @type {string}
|
|
61
|
-
*/
|
|
62
|
-
Gamepad.prototype.mapping; // read-only
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @type {!Array.<number>}
|
|
66
|
-
*/
|
|
67
|
-
Gamepad.prototype.axes; // read-only
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Note: The W3C spec changed, this property now returns an array of
|
|
71
|
-
* GamepadButton objects.
|
|
72
|
-
*
|
|
73
|
-
* @type {(!Array.<!GamepadButton>|!Array.<number>)}
|
|
74
|
-
*/
|
|
75
|
-
Gamepad.prototype.buttons;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @interface
|
|
80
|
-
*/
|
|
81
|
-
var GamepadButton = function() {};
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
*/
|
|
86
|
-
GamepadButton.prototype.pressed; // read-only
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @type {number}
|
|
90
|
-
*/
|
|
91
|
-
GamepadButton.prototype.value; // read-only
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2014 The Closure Compiler Authors.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @fileoverview W3C Web MIDI specification.
|
|
19
|
-
* @see http://www.w3.org/TR/webmidi/
|
|
20
|
-
*
|
|
21
|
-
* @externs
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @param {!MIDIOptions=} opt_options
|
|
27
|
-
* @return {!Promise.<!MIDIAccess>}
|
|
28
|
-
*/
|
|
29
|
-
navigator.requestMIDIAccess = function(opt_options) {};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @typedef {{
|
|
34
|
-
* sysex: boolean
|
|
35
|
-
* }}
|
|
36
|
-
*/
|
|
37
|
-
var MIDIOptions;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @interface
|
|
43
|
-
*/
|
|
44
|
-
var MIDIInputMap = function() {};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @const {number}
|
|
49
|
-
*/
|
|
50
|
-
MIDIInputMap.prototype.size;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @param {function(string)} iterator
|
|
55
|
-
*/
|
|
56
|
-
MIDIInputMap.prototype.keys = function(iterator) {};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @param {function(!Array.<*>)} iterator
|
|
61
|
-
*/
|
|
62
|
-
MIDIInputMap.prototype.entries = function(iterator) {};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @param {function(!MIDIInput)} iterator
|
|
67
|
-
*/
|
|
68
|
-
MIDIInputMap.prototype.values = function(iterator) {};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @param {string} key
|
|
73
|
-
* @return {!MIDIInput}
|
|
74
|
-
*/
|
|
75
|
-
MIDIInputMap.prototype.get = function(key) {};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @param {string} key
|
|
80
|
-
* @return {boolean}
|
|
81
|
-
*/
|
|
82
|
-
MIDIInputMap.prototype.has = function(key) {};
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @interface
|
|
88
|
-
*/
|
|
89
|
-
var MIDIOutputMap = function() {};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @const {number}
|
|
94
|
-
*/
|
|
95
|
-
MIDIOutputMap.prototype.size;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @param {function(string)} iterator
|
|
100
|
-
*/
|
|
101
|
-
MIDIOutputMap.prototype.keys = function(iterator) {};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @param {function(!Array.<*>)} iterator
|
|
106
|
-
*/
|
|
107
|
-
MIDIOutputMap.prototype.entries = function(iterator) {};
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @param {function(!MIDIOutput)} iterator
|
|
112
|
-
*/
|
|
113
|
-
MIDIOutputMap.prototype.values = function(iterator) {};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @param {string} key
|
|
118
|
-
* @return {!MIDIOutput}
|
|
119
|
-
*/
|
|
120
|
-
MIDIOutputMap.prototype.get = function(key) {};
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* @param {string} key
|
|
125
|
-
* @return {boolean}
|
|
126
|
-
*/
|
|
127
|
-
MIDIOutputMap.prototype.has = function(key) {};
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @interface
|
|
133
|
-
* @extends {EventTarget}
|
|
134
|
-
*/
|
|
135
|
-
var MIDIAccess = function() {};
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @const {!MIDIInputMap}
|
|
140
|
-
*/
|
|
141
|
-
MIDIAccess.prototype.inputs;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @const {!MIDIOutputMap}
|
|
146
|
-
*/
|
|
147
|
-
MIDIAccess.prototype.outputs;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @const {function(!MIDIConnectionEvent)}
|
|
152
|
-
*/
|
|
153
|
-
MIDIAccess.prototype.onconnect;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @type {function(!MIDIConnectionEvent)}
|
|
158
|
-
*/
|
|
159
|
-
MIDIAccess.prototype.ondisconnect;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @const {boolean}
|
|
164
|
-
*/
|
|
165
|
-
MIDIAccess.prototype.sysexEnabled;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @interface
|
|
171
|
-
* @extends {EventTarget}
|
|
172
|
-
*/
|
|
173
|
-
var MIDIPort = function() {};
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @const {string}
|
|
178
|
-
*/
|
|
179
|
-
MIDIPort.prototype.id;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @const {string}
|
|
184
|
-
*/
|
|
185
|
-
MIDIPort.prototype.manufacturer;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @const {string}
|
|
190
|
-
*/
|
|
191
|
-
MIDIPort.prototype.name;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* @const {string}
|
|
196
|
-
*/
|
|
197
|
-
MIDIPort.prototype.type;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @const {string}
|
|
202
|
-
*/
|
|
203
|
-
MIDIPort.prototype.version;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* @type {function(!MIDIConnectionEvent)}
|
|
208
|
-
*/
|
|
209
|
-
MIDIPort.prototype.ondisconnect;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @interface
|
|
215
|
-
* @extends {MIDIPort}
|
|
216
|
-
*/
|
|
217
|
-
var MIDIInput = function() {};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @type {function(!MIDIMessageEvent)}
|
|
222
|
-
*/
|
|
223
|
-
MIDIInput.prototype.onmidimessage;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @interface
|
|
229
|
-
* @extends {MIDIPort}
|
|
230
|
-
*/
|
|
231
|
-
var MIDIOutput = function() {};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* @param {!Uint8Array} data
|
|
236
|
-
* @param {number=} opt_timestamp
|
|
237
|
-
*/
|
|
238
|
-
MIDIOutput.prototype.send = function(data, opt_timestamp) {};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @constructor
|
|
244
|
-
* @extends {Event}
|
|
245
|
-
* @param {string} type
|
|
246
|
-
* @param {!MIDIMessageEventInit=} opt_init
|
|
247
|
-
*/
|
|
248
|
-
var MIDIMessageEvent = function(type, opt_init) {};
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @const {number}
|
|
253
|
-
*/
|
|
254
|
-
MIDIMessageEvent.prototype.receivedTime;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* @const {!Uint8Array}
|
|
259
|
-
*/
|
|
260
|
-
MIDIMessageEvent.prototype.data;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @typedef {{
|
|
265
|
-
* receivedTime: number,
|
|
266
|
-
* data: !Uint8Array
|
|
267
|
-
* }}
|
|
268
|
-
*/
|
|
269
|
-
var MIDIMessageEventInit;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @constructor
|
|
275
|
-
* @extends {Event}
|
|
276
|
-
* @param {string} type
|
|
277
|
-
* @param {!MIDIConnectionEventInit=} opt_init
|
|
278
|
-
*/
|
|
279
|
-
var MIDIConnectionEvent = function(type, opt_init) {};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* @const {MIDIPort}
|
|
284
|
-
*/
|
|
285
|
-
MIDIConnectionEvent.prototype.port;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @typedef {{
|
|
290
|
-
* port: !MIDIPort
|
|
291
|
-
* }}
|
|
292
|
-
*/
|
|
293
|
-
var MIDIConnectionEventInit;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2014 The Closure Compiler Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @fileoverview Definitions for W3C's Pointer Events specification.
|
|
19
|
-
* Created from
|
|
20
|
-
* http://www.w3.org/TR/pointerevents/
|
|
21
|
-
*
|
|
22
|
-
* @externs
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @see http://www.w3.org/TR/pointerevents/#the-touch-action-css-property
|
|
29
|
-
*/
|
|
30
|
-
CSSProperties.prototype.touchAction;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @see http://www.w3.org/TR/pointerevents/#widl-Navigator-pointerEnabled
|
|
35
|
-
*/
|
|
36
|
-
Navigator.prototype.pointerEnabled;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @see http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints
|
|
41
|
-
*/
|
|
42
|
-
Navigator.prototype.maxTouchPoints;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @typedef {{
|
|
47
|
-
* bubbles: (boolean|undefined),
|
|
48
|
-
* cancelable: (boolean|undefined),
|
|
49
|
-
* view: (Window|undefined),
|
|
50
|
-
* detail: (number|undefined),
|
|
51
|
-
* screenX: (number|undefined),
|
|
52
|
-
* screenY: (number|undefined),
|
|
53
|
-
* clientX: (number|undefined),
|
|
54
|
-
* clientY: (number|undefined),
|
|
55
|
-
* ctrlKey: (boolean|undefined),
|
|
56
|
-
* shiftKey: (boolean|undefined),
|
|
57
|
-
* altKey: (boolean|undefined),
|
|
58
|
-
* metaKey: (boolean|undefined),
|
|
59
|
-
* button: (number|undefined),
|
|
60
|
-
* buttons: (number|undefined),
|
|
61
|
-
* relatedTarget: (EventTarget|undefined),
|
|
62
|
-
* pointerId: (number|undefined),
|
|
63
|
-
* width: (number|undefined),
|
|
64
|
-
* height: (number|undefined),
|
|
65
|
-
* pressure: (number|undefined),
|
|
66
|
-
* tiltX: (number|undefined),
|
|
67
|
-
* tiltY: (number|undefined),
|
|
68
|
-
* pointerType: (string|undefined),
|
|
69
|
-
* isPrimary: (boolean|undefined)
|
|
70
|
-
* }}
|
|
71
|
-
*/
|
|
72
|
-
var PointerEventInit;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @constructor
|
|
76
|
-
* @extends {MouseEvent}
|
|
77
|
-
* @param {string} type
|
|
78
|
-
* @param {PointerEventInit=} opt_eventInitDict
|
|
79
|
-
* @see http://www.w3.org/TR/pointerevents/#pointerevent-interface
|
|
80
|
-
*/
|
|
81
|
-
function PointerEvent(type, opt_eventInitDict) {}
|
|
82
|
-
|
|
83
|
-
/** @type {number} */
|
|
84
|
-
PointerEvent.prototype.pointerId;
|
|
85
|
-
|
|
86
|
-
/** @type {number} */
|
|
87
|
-
PointerEvent.prototype.width;
|
|
88
|
-
|
|
89
|
-
/** @type {number} */
|
|
90
|
-
PointerEvent.prototype.height;
|
|
91
|
-
|
|
92
|
-
/** @type {number} */
|
|
93
|
-
PointerEvent.prototype.pressure;
|
|
94
|
-
|
|
95
|
-
/** @type {number} */
|
|
96
|
-
PointerEvent.prototype.tiltX;
|
|
97
|
-
|
|
98
|
-
/** @type {number} */
|
|
99
|
-
PointerEvent.prototype.tiltY;
|
|
100
|
-
|
|
101
|
-
/** @type {string} */
|
|
102
|
-
PointerEvent.prototype.pointerType;
|
|
103
|
-
|
|
104
|
-
/** @type {boolean} */
|
|
105
|
-
PointerEvent.prototype.isPrimary;
|