summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuelockwood <deathbearbrown@gmail.com>2013-10-10 11:37:38 -0400
committersuelockwood <deathbearbrown@gmail.com>2013-10-10 11:37:38 -0400
commit73de1b0d3e22ecbc32ca897b24e690ee14866162 (patch)
tree215553939294fed26dd91c0b36527ba7d7f348f4
parent78e7a680f40d0d67892ff7eddba19e2980682c2e (diff)
downloadcouchdb-API-url-docs.tar.gz
cleaning up console logsAPI-url-docs
-rw-r--r--src/fauxton/app/api.js1
-rw-r--r--src/fauxton/app/helpers.js4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/fauxton/app/api.js b/src/fauxton/app/api.js
index d1dc268e7..795c25fa9 100644
--- a/src/fauxton/app/api.js
+++ b/src/fauxton/app/api.js
@@ -364,7 +364,6 @@ function(app, Fauxton) {
});
if (this.get('apiUrl')){
- console.log(this.get('apiUrl'), "API URL");
masterLayout.apiBar.update(this.get('apiUrl'));
}
diff --git a/src/fauxton/app/helpers.js b/src/fauxton/app/helpers.js
index c1cc4fa96..e775e401c 100644
--- a/src/fauxton/app/helpers.js
+++ b/src/fauxton/app/helpers.js
@@ -48,8 +48,8 @@ function() {
"log": "http://docs.couchdb.org/en/latest/api/server/common.html?highlight=stats#log"
};
- Helpers.getDocUrl = function(getthis){
- return Helpers.docs[getthis] || '#';
+ Helpers.getDocUrl = function(docKey){
+ return Helpers.docs[docKey] || '#';
};
// File size pretty printing, taken from futon.format.js