Use @nosideeffects in webgl-debug externs

This commit is contained in:
Tom Payne
2012-07-17 12:12:38 +02:00
parent e3bbd67092
commit 49c9a409e2

View File

@@ -22,6 +22,7 @@ var WebGLDebugLostContextSimulatingCanvas = function() {};
/**
* @nosideeffects
* @return {number}
*/
WebGLDebugLostContextSimulatingCanvas.prototype.getNumCalls = function() {};
@@ -58,6 +59,7 @@ var WebGLDebugUtils = {};
/**
* @nosideeffects
* @param {number} value
* @return {string}
*/
@@ -65,6 +67,7 @@ WebGLDebugUtils.glEnumToString = function(value) {};
/**
* @nosideeffects
* @param {string} functionName
* @param {Array} args Args.
* @return {string} String.