summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smith (work) <jhs@apache.org>2012-02-27 04:28:16 +0000
committerJason Smith (work) <jhs@apache.org>2012-02-27 04:28:16 +0000
commitd0d245f712744b1e716d9f35a2a7f3a9777360b7 (patch)
tree85fd034b5585a2178e15b3faf00b3c4f32c35889
parent4cd60f3d1683a3445c3248f48ae064fb573db2a1 (diff)
downloadcouchdb-COUCHDB-1417.tar.gz
Force semicolon insertion, preventing semantic errorsCOUCHDB-1417
-rw-r--r--test/javascript/couch_http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/javascript/couch_http.js b/test/javascript/couch_http.js
index 5f4716d23..6a2bc1005 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() {