couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject git commit: Force semicolon insertion, preventing semantic errors
Date Mon, 27 Feb 2012 02:55:03 GMT
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) <jhs@iriscouch.com>
Authored: Thu Feb 23 05:30:06 2012 +0000
Committer: Jason Smith (work) <jhs@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() {


Mime
View raw message