Ticket #2947 (closed feature: fixed)
allow custom jsfiles array
| Reported by: | erilem | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.11 Release |
| Component: | general | Version: | 2.10 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
To reduce the loading time of the lib during development and testing it would be good to be able to provide a custom jsfiles array.
Example :
<script type="text/javascript">
window.__OpenLayersJsFiles = new Array(
"OpenLayers/Util.js",
"OpenLayers/BaseTypes.js"
);
</script>
<script src="../lib/OpenLayers.js"></script>
In this example the OpenLayers.js script will load two additional scripts only, Util.js and BaseTypes.js.
Patch to come.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

