Ticket #1549 (closed bug: fixed)
lite.cfg should include Console.js
| Reported by: | openlayers | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.8 Release |
| Component: | general | Version: | 2.6 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

