Externs lint

This commit is contained in:
Tim Schaub
2014-04-04 07:03:58 -06:00
parent 6a3d349409
commit fe60d07ef0
6 changed files with 36 additions and 13 deletions

View File

@@ -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;