to finish this one up. All commits are in comments, so a review doesn't seem strictly neccesary. This closes #918 and fixes all the copyrights that I could find in the code. git-svn-id: http://svn.openlayers.org/trunk/openlayers@3984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
11 lines
337 B
JavaScript
11 lines
337 B
JavaScript
|
|
if (!window.console || !console.firebug)
|
|
{
|
|
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
|
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
|
|
|
window.console = {};
|
|
for (var i = 0; i < names.length; ++i)
|
|
window.console[names[i]] = function() {}
|
|
}
|