Externs lint
This commit is contained in:
@@ -10,30 +10,37 @@
|
||||
|
||||
// @see https://code.google.com/p/closure-compiler/issues/detail?id=1060
|
||||
|
||||
|
||||
/** @type {Date} */
|
||||
HTMLInputElement.prototype.valueAsDate;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
HTMLInputElement.prototype.valueAsNumber;
|
||||
|
||||
|
||||
// @see https://code.google.com/p/closure-compiler/issues/detail?id=1084
|
||||
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceRotationRate.prototype.alpha;
|
||||
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceRotationRate.prototype.beta;
|
||||
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceRotationRate.prototype.gamma;
|
||||
|
||||
|
||||
// @see https://code.google.com/p/closure-compiler/issues/detail?id=1088
|
||||
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceOrientationEvent.prototype.webkitCompassAccuracy;
|
||||
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceOrientationEvent.prototype.webkitCompassHeading;
|
||||
|
||||
@@ -41,15 +48,19 @@ DeviceOrientationEvent.prototype.webkitCompassHeading;
|
||||
// IE 11 fullscreen API
|
||||
// http://msdn.microsoft.com/en-us/library/ie/dn265028(v=vs.85).aspx
|
||||
|
||||
|
||||
/** @return {void} */
|
||||
Element.prototype.msRequestFullscreen = function() {};
|
||||
|
||||
|
||||
/** @return {void} */
|
||||
Element.prototype.msExitFullscreen = function() {};
|
||||
|
||||
|
||||
/** @type {boolean} */
|
||||
Document.prototype.msFullscreenEnabled;
|
||||
|
||||
|
||||
/** @type {Element} */
|
||||
Document.prototype.msFullscreenElement;
|
||||
|
||||
@@ -57,17 +68,22 @@ Document.prototype.msFullscreenElement;
|
||||
/** @type {number} */
|
||||
Touch.prototype.force;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
Touch.prototype.radiusX;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
Touch.prototype.radiusY;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
Touch.prototype.webkitForce;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
Touch.prototype.webkitRadiusX;
|
||||
|
||||
|
||||
/** @type {number} */
|
||||
Touch.prototype.webkitRadiusY;
|
||||
|
||||
Reference in New Issue
Block a user