Merge pull request #2463 from gingerik/externs-function-bodies
Remove function bodies from externs
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ var VBArray = function(safeArray) {};
|
|||||||
/**
|
/**
|
||||||
* @return {number}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
VBArray.prototype.dimensions = function() {return 0;};
|
VBArray.prototype.dimensions = function() {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -36,7 +36,7 @@ VBArray.prototype.lbound = function(opt_dimension) {};
|
|||||||
/**
|
/**
|
||||||
* @return {Array.<number>}
|
* @return {Array.<number>}
|
||||||
*/
|
*/
|
||||||
VBArray.prototype.toArray = function() {return null;};
|
VBArray.prototype.toArray = function() {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+5
-10
@@ -25,8 +25,7 @@ var WebGLDebugLostContextSimulatingCanvas = function() {};
|
|||||||
* @nosideeffects
|
* @nosideeffects
|
||||||
* @return {number}
|
* @return {number}
|
||||||
*/
|
*/
|
||||||
WebGLDebugLostContextSimulatingCanvas.prototype.getNumCalls =
|
WebGLDebugLostContextSimulatingCanvas.prototype.getNumCalls = function() {};
|
||||||
function() {return NaN;};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -64,7 +63,7 @@ var WebGLDebugUtils = {};
|
|||||||
* @param {number} value
|
* @param {number} value
|
||||||
* @return {string}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
WebGLDebugUtils.glEnumToString = function(value) {return '';};
|
WebGLDebugUtils.glEnumToString = function(value) {};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -73,9 +72,7 @@ WebGLDebugUtils.glEnumToString = function(value) {return '';};
|
|||||||
* @param {Array} args Args.
|
* @param {Array} args Args.
|
||||||
* @return {string} String.
|
* @return {string} String.
|
||||||
*/
|
*/
|
||||||
WebGLDebugUtils.glFunctionArgsToString = function(functionName, args) {
|
WebGLDebugUtils.glFunctionArgsToString = function(functionName, args) {};
|
||||||
return '';
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -88,9 +85,7 @@ WebGLDebugUtils.init = function(ctx) {};
|
|||||||
* @param {HTMLCanvasElement} canvas
|
* @param {HTMLCanvasElement} canvas
|
||||||
* @return {WebGLDebugLostContextSimulatingCanvas}
|
* @return {WebGLDebugLostContextSimulatingCanvas}
|
||||||
*/
|
*/
|
||||||
WebGLDebugUtils.makeLostContextSimulatingCanvas = function(canvas) {
|
WebGLDebugUtils.makeLostContextSimulatingCanvas = function(canvas) {};
|
||||||
return null;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -100,4 +95,4 @@ WebGLDebugUtils.makeLostContextSimulatingCanvas = function(canvas) {
|
|||||||
* @return {WebGLDebugRenderingContext}
|
* @return {WebGLDebugRenderingContext}
|
||||||
*/
|
*/
|
||||||
WebGLDebugUtils.makeDebugContext =
|
WebGLDebugUtils.makeDebugContext =
|
||||||
function(context, opt_onErrorFunc, opt_onFunc) {return null;};
|
function(context, opt_onErrorFunc, opt_onFunc) {};
|
||||||
|
|||||||
Reference in New Issue
Block a user