mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 07:26:55 +00:00
Improved consistency of closure compiler annotations
This commit is contained in:
Binary file not shown.
+14
-14
@@ -2,20 +2,20 @@
|
||||
|
||||
/**
|
||||
* @typedef {{
|
||||
* buttonClassName: (string|undefined),
|
||||
* buttonDidAppear: (function(): undefined|undefined),
|
||||
* buttonElementType: (string|undefined),
|
||||
* buttonHoverStyle: (string|undefined),
|
||||
* buttonImage: (string|undefined),
|
||||
* buttonInsertBefore: (function(Element): ?Node|undefined),
|
||||
* buttonParent: function(): ?Element,
|
||||
* buttonScale: (number|undefined),
|
||||
* buttonStyle: (string|undefined),
|
||||
* captionElement: (function(): ?Element|undefined),
|
||||
* videoElement: function(): ?Element,
|
||||
* buttonClassName: (string|undefined),
|
||||
* buttonDidAppear: (function():undefined|undefined),
|
||||
* buttonElementType: (string|undefined),
|
||||
* buttonHoverStyle: (string|undefined),
|
||||
* buttonImage: (string|undefined),
|
||||
* buttonInsertBefore: (function(Element):?Node|undefined),
|
||||
* buttonParent: function():?Element,
|
||||
* buttonScale: (number|undefined),
|
||||
* buttonStyle: (string|undefined),
|
||||
* captionElement: (function():?Element|undefined),
|
||||
* videoElement: function():?Element,
|
||||
* }}
|
||||
*/
|
||||
let PIPResource;
|
||||
let PiperResource;
|
||||
|
||||
|
||||
/** @define {boolean} - Flag used by closure compiler to remove logging */
|
||||
@@ -25,7 +25,7 @@ const BUTTON_ID = 'PiPer_button';
|
||||
const TRACK_ID = 'PiPer_track';
|
||||
|
||||
let /** ?Element */ button = null;
|
||||
let /** ?PIPResource */ currentResource = null;
|
||||
let /** ?PiperResource */ currentResource = null;
|
||||
let /** ?TextTrack */ track = null;
|
||||
let /** boolean */ showingCaptions = false;
|
||||
let /** string */ lastUnprocessedCaption = '';
|
||||
@@ -263,7 +263,7 @@ const bypassBackgroundTimerThrottling = function() {
|
||||
request.send();
|
||||
};
|
||||
|
||||
/** @type {!IObject<string, PIPResource>} */
|
||||
/** @type {!IObject<string, PiperResource>} */
|
||||
const resources = {
|
||||
|
||||
'amazon': {
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.3</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>86</string>
|
||||
<string>88</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user