summaryrefslogtreecommitdiff
path: root/share/www/browse
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-05-20 20:15:05 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-05-20 20:15:05 +0000
commit3a08b41f8c2a97eee0904b6359e559ed76dfc9fd (patch)
tree7d5f372c008ede02b896e3bf757afd3c8430967b /share/www/browse
parent9cd5e9810997f7255287cb283e9829f1f3512fac (diff)
Some javascript code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/browse')
-rw-r--r--share/www/browse/database.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html
index c685baad..76990608 100644
--- a/share/www/browse/database.html
+++ b/share/www/browse/database.html
@@ -111,7 +111,7 @@ specific language governing permissions and limitations under the License.
<label for="viewcode_textarea">View Function</label>
</div>
<textarea id="viewcode_textarea" rows="5" cols="79" spellcheck="false" wrap="off">function(doc) {
- map(null, doc);
+ emit(null, doc);
}</textarea>
<div class="bottom">
<button class="save" type="button" disabled>Save</button>