Fixed closure compiler annotations

This commit is contained in:
amarcu5
2018-07-30 22:52:21 +01:00
parent 0356f426ed
commit 45a3e9eea2
3 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@@ -90,7 +90,7 @@
/**
* Clears queued timeouts to be invoked with media 'timeupdate' events
*
* @param {number} id
* @param {?number|undefined} id
*/
const unthrottledClearTimeout = function(id) {
delete timeouts[id];
@@ -124,13 +124,13 @@
} else if (activeVideo) {
activeVideo = null;
window.setTimeout = originalSetTimeout;
window.clearTimeout = originalClearTimeout;
activeVideo.removeEventListener('timeupdate', callAnimationFrameRequestsAndTimeouts);
activeVideo = null;
for (let callbackId = callbacks.length; callbackId--;) {
let request = originalRequestAnimationFrame(callbacks[callbackId]);
requests.push(request);

View File

@@ -10,7 +10,7 @@
<key>CFBundleShortVersionString</key>
<string>0.2.5</string>
<key>CFBundleVersion</key>
<string>117</string>
<string>120</string>
<key>Developer Identifier</key>
<string>BQ6Q24MF9X</string>
<key>URL</key>