diff --git a/Developer-Guide.md b/Developer-Guide.md index dd81f05..6a14d5b 100644 --- a/Developer-Guide.md +++ b/Developer-Guide.md @@ -129,16 +129,23 @@ just like the examples executing the `host-examples` build target: $ ./build.py host-examples - -This will build `ol.js`, `ol-simple.js`, `ol-whitespace.js`, and `ol.css`, -create the examples index page, and copy everything to -`build/gh-pages//`, where `` is the name of the local -checked out Git branch. You can now open the examples index page in the -browser, for example: . + +This target performs a number of things: + +1. Build `ol.js`, `ol-simple.js`, `ol-whitespace.js`, and `ol.css`, +1. Create the examples index page, +1. Extract the Closure Library from the Plovr JAR, +1. Copy everything to `build/gh-pages//`, where `` is the name of the local checked out Git branch. + +After running `host-examples` you can now open the examples index page in the browser, for example: . To make an example use `ol-simple.js` or `ol-whitespace.js` instead of `ol.js` -append `?mode=simple` or `?mode=whitespace` to the example URL. And append -`?mode=debug` or `?mode=raw` to make the example work in full debug mode. +append `?mode=simple` or `?mode=whitespace` to the example URL. + +Append `?mode=debug` or `?mode=raw` to make the example work in full debug mode. In +full debug mode the OpenLayers and Closure scripts are loaded individually by +the Closure Library's `base.js` script (which the example page loads and +executes before any other script). ## Running tests