clean up comments and error logging

This commit is contained in:
Tom 2024-01-24 13:02:50 -05:00
parent dc03989bbe
commit d2376b571f
2 changed files with 0 additions and 3 deletions

View File

@ -281,8 +281,6 @@
// occured in the TravisCI tests, though it did not happen when testing locally either in
// a browser or on the command line via grunt test.
// use plain console.error instead of $.console.error in order to have the message show up in the test log.
console.error(`There was a WebGL problem: bad value for MAX_TEXTURE_IMAGE_UNITS (${maxTextures})`);
throw(new Error(`WegGL error: bad value for gl parameter MAX_TEXTURE_IMAGE_UNITS (${maxTextures}). This could happen
if too many contexts have been created and not released, or there is another problem with the graphics card.`));
}

View File

@ -151,7 +151,6 @@
// Log the name of the currently running test when it starts. Uses console.log rather than
// $.console.log so that the message is printed even after the $.console is diverted (see below).
// Uncomment this code to log which test is currently running. Useful for debugging.
QUnit.testStart((details) => {
console.log(`Starting test ${details.module}.${details.name}`);
});