summaryrefslogtreecommitdiff
path: root/share/www/script/futon.browse.js
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-16 21:27:43 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-16 21:27:43 +0000
commit3d7f5af97379a28f4ee4937b0a654c6d1f345fd6 (patch)
treebd2819a5918b7d335f62a6463f0685af4ad8576c /share/www/script/futon.browse.js
parent4c921ff6730e63a17c5be5b5ac01da44818833a4 (diff)
Some cleanup of the suggest and editinline jQuery plugins.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735146 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/futon.browse.js')
-rw-r--r--share/www/script/futon.browse.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 9e8aba66..ee8da4e6 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -251,7 +251,6 @@
var optGroup = $(document.createElement("optgroup"))
.attr("label", doc._id.substr(8));
for (var name in doc.views) {
- if (!doc.views.hasOwnProperty(name)) continue;
var option = $(document.createElement("option"))
.attr("value", doc._id + "/" + name).text(name)
.appendTo(optGroup);
@@ -684,7 +683,6 @@
page.doc = doc;
var propNames = [];
for (var prop in doc) {
- if (!doc.hasOwnProperty(prop)) continue;
propNames.push(prop);
}
// Order properties alphabetically, but put internal fields first
@@ -904,7 +902,6 @@
if (type == "object" && val !== null) {
var list = $("<dl></dl>");
for (var i in val) {
- if (!value.hasOwnProperty(i)) continue;
$("<dt></dt>").text(i).appendTo(list);
$("<dd></dd>").append(_renderValue(val[i])).appendTo(list);
}