Merge "Added retrieve information about corpus statistic in API (development mode)" into corpStat
diff --git a/dev/js/src/api.js b/dev/js/src/api.js
index 9f03ff7..57303d5 100644
--- a/dev/js/src/api.js
+++ b/dev/js/src/api.js
@@ -85,6 +85,22 @@
/**
+ * Retrieve information about corpus statistic
+ *
+ * Development mode:
+ * URL = http://localhost:8089/api
+ */
+ /*KorAP.API.getCorpStat = function (collQu, cb){
+ //var url = KorAP.API;
+ //development mode:
+ var url = "http://localhost:8089/api/";
+ url = url + "statistics";
+ url = url + "?collectionQuery=";
+ url = url + collQu;
+ KorAP.API.getJSON(url, cb);
+ };*/
+
+ /**
* General method to retrieve JSON information
*/
KorAP.API.getJSON = function (url, onload) {