You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jh...@apache.org on 2012/02/27 03:55:03 UTC
git commit: Force semicolon insertion, preventing semantic errors
Updated Branches:
refs/heads/COUCHDB-1417 [created] e86b3de75
Force semicolon insertion, preventing semantic errors
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e86b3de7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e86b3de7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e86b3de7
Branch: refs/heads/COUCHDB-1417
Commit: e86b3de75f7de27d760dbf6537e9b4d4866554ec
Parents: 4cd60f3
Author: Jason Smith (work) <jh...@iriscouch.com>
Authored: Thu Feb 23 05:30:06 2012 +0000
Committer: Jason Smith (work) <jh...@iriscouch.com>
Committed: Thu Feb 23 05:36:17 2012 +0000
----------------------------------------------------------------------
test/javascript/couch_http.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/e86b3de7/test/javascript/couch_http.js
----------------------------------------------------------------------
diff --git a/test/javascript/couch_http.js b/test/javascript/couch_http.js
index 5f4716d..6a2bc10 100644
--- a/test/javascript/couch_http.js
+++ b/test/javascript/couch_http.js
@@ -10,7 +10,7 @@
// License for the specific language governing permissions and limitations under
// the License.
-(function() {
+!function() {
CouchHTTP.prototype.base_url = "http://127.0.0.1:5984"
if(typeof(CouchHTTP) != "undefined") {
@@ -54,7 +54,7 @@
return null;
};
}
-})();
+}();
CouchDB.urlPrefix = "";
CouchDB.newXhr = function() {