Two ways to run the hosted examples: compiled and raw

When viewing the hosted examples, people can load the compiled version of the library or load each script individually.
This commit is contained in:
Tim Schaub
2014-07-17 21:42:55 -06:00
parent 4dc601f30d
commit 737e063937
2 changed files with 4 additions and 16 deletions
+1 -4
View File
@@ -122,10 +122,7 @@ executing the `host-examples` build target:
After running `host-examples` you can now open the examples index page in the browser, for example: <http://localhost/~elemoine/ol3/build/hosted/master/examples/>. (This assumes that the `hosted` directory is a web directory, served by Apache for example.)
Append `?mode=debug` or `?mode=raw` to make the example work in full debug mode. In
full debug mode the OpenLayers and Closure Library scripts are loaded individually by
the Closure Library's `base.js` script (which the example page loads and
executes before any other script).
Append `?mode=raw` to make the example work in full debug mode. In raw mode the OpenLayers and Closure Library 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