From c4a9e9e42d82152517f0ffbb478aa964a5a3e423 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Thu, 28 Jul 2022 06:12:36 -0500 Subject: [PATCH] Fix annoying warning --- lib/webgl-utils.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/webgl-utils.js b/lib/webgl-utils.js index 7a6b546..2639ee0 100644 --- a/lib/webgl-utils.js +++ b/lib/webgl-utils.js @@ -68,13 +68,13 @@ WebGLUtils = function() { var makeFailHTML = function(msg) { return '' + '
' + msg + '
'; - return '' + - '' + - '
' + - '
' + - '
' + msg + '
' + - '
' + - '
'; + // return '' + + // '' + + // '
' + + // '
' + + // '
' + msg + '
' + + // '
' + + // '
'; }; /** @@ -182,10 +182,10 @@ if (!window.requestAnimationFrame) { })(); } -/** * ERRATA: 'cancelRequestAnimationFrame' renamed to 'cancelAnimationFrame' to reflect an update to the W3C Animation-Timing Spec. - * - * Cancels an animation frame request. - * Checks for cross-browser support, falls back to clearTimeout. +/** * ERRATA: 'cancelRequestAnimationFrame' renamed to 'cancelAnimationFrame' to reflect an update to the W3C Animation-Timing Spec. + * + * Cancels an animation frame request. + * Checks for cross-browser support, falls back to clearTimeout. * @param {number} Animation frame request. */ if (!window.cancelAnimationFrame) { window.cancelAnimationFrame = (window.cancelRequestAnimationFrame ||