[OpenLayers-Trac] [OpenLayers] #1549: lite.cfg should include Console.js
OpenLayers
trac at openlayers.org
Sun May 18 03:28:03 EDT 2008
#1549: lite.cfg should include Console.js
------------------------+---------------------------------------------------
Reporter: openlayers | Owner:
Type: bug | Status: new
Priority: minor | Milestone:
Component: general | Version: 2.6
Keywords: | State:
------------------------+---------------------------------------------------
Some extra String functions such as trim() are using Console to report
back the user they are deprecated... but since Console.js is not included
in the lite.cfg configuration, the net result is a javascript error. This
of course will happen for anything else that uses Console messages.
Adding Console.js to the configuration seems to fix the problem without
significantly affecting the size of the built OL.
A quick check with Eclipse reveals there are 72 usages of Console.js
around the code base, and none of them checks for Console to be around, so
I guess all of them would trigger the same error.
--
Ticket URL: <http://trac.openlayers.org/ticket/1549>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list