diff --git a/Makefile b/Makefile index ff9dd6d345..00359f2d75 100644 --- a/Makefile +++ b/Makefile @@ -2,5 +2,8 @@ all: java -jar plovr.jar serve main.json build: java -jar plovr.jar build main.json > index.js +jsdoc: + java -jar plovr.jar jsdoc main.json -.PHONY: build \ No newline at end of file +.PHONY: build +.PHONY: jsdoc diff --git a/main.json b/main.json index 0048f48824..e71fb6920a 100644 --- a/main.json +++ b/main.json @@ -28,5 +28,5 @@ // "undefinedVars": "ERROR" }, - "jsdoc-html-output-path": "." + "jsdoc-html-output-path": "jsdoc" } diff --git a/src/api/bounds.js b/src/api/bounds.js index 9097443dcd..2eed88cf26 100644 --- a/src/api/bounds.js +++ b/src/api/bounds.js @@ -31,7 +31,6 @@ ol.bounds = function(opt_arg){ var x = 0; var y = 0; var z; - var projection; if (goog.isArray(opt_arg)) { minX = opt_arg[0];