diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-17 12:07:04 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-17 12:07:04 +0000 |
commit | ce076cb7b69f6c17722974f0626af3e99a0a3e4d (patch) | |
tree | 7f93637989906e78030cc1913cd64adf2403db4c /share/www/script/jquery.couch.js | |
parent | 307029fd0dc4886092f9196c275a71c3d8a32220 (diff) |
JavaScript test suite: adding more semi-collons where necessary to assure compatibility with Chrome and Safari.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998090 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/jquery.couch.js')
-rw-r--r-- | share/www/script/jquery.couch.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index ebf7d52a..8d86b679 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -36,7 +36,7 @@ } user_doc.type = "user"; if (!user_doc.roles) { - user_doc.roles = [] + user_doc.roles = []; } return user_doc; }; @@ -115,7 +115,7 @@ user_doc = prepareUserDoc(user_doc, password); $.couch.userDb(function(db) { db.saveDoc(user_doc, options); - }) + }); }, login: function(options) { @@ -167,7 +167,7 @@ doc._attachments["rev-"+doc._rev.split("-")[0]] = { content_type :"application/json", data : Base64.encode(rawDocs[doc._id].raw) - } + }; return true; } } @@ -583,7 +583,7 @@ if (!uuidCache.length) { ajax({url: this.urlPrefix + "/_uuids", data: {count: cacheNum}, async: false}, { success: function(resp) { - uuidCache = resp.uuids + uuidCache = resp.uuids; } }, "Failed to retrieve UUID batch." |