Tim Schaub 2add7288e5 Doc target for building with JSDoc 3.
This assumes jsdoc is on the path.
2012-09-24 17:25:33 +02:00
2012-07-11 17:12:38 +02:00
2012-09-24 14:21:41 +02:00
2012-09-24 16:59:27 +02:00
2012-08-06 17:55:47 +02:00
2012-07-18 08:10:44 +02:00
2012-09-24 14:40:50 +02:00
2012-09-24 17:25:33 +02:00
2012-08-07 14:17:15 +02:00

OpenLayers 3

Build it

Run make:

$ make

Run the examples

Run make (as above), then explore the demos/ directory with your web browser.

Run the examples in debug mode

Run the Plovr web server with:

$ make serve

Then, start a simple webserver, for example:

$ python -mSimpleHTTPServer

Explore the demos/ directory through this server, for example http://localhost:8000/demos/side-by-side/debug.html. You can turn off compilation by appending ?mode=RAW to the URL, for example http://localhost:8000/demos/side-by-side/debug.html?mode=RAW.

Note that appending ?mode=RAW doesn't work with file:// URLs, which is why you need to access the demos/ directory though a web server.

Run tests

Run the plovr web server (see above), then open http://localhost:9810/ in your browser and select List of tests or Test runner.

Run the linter

First, install the Closure Linter. Then:

$ make lint
Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%