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 04:28:33 GMT
Updated Branches:
  refs/heads/COUCHDB-1417 d50ed4e15 -> d0d245f71 (forced update)


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/d0d245f7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d0d245f7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d0d245f7

Branch: refs/heads/COUCHDB-1417
Commit: d0d245f712744b1e716d9f35a2a7f3a9777360b7
Parents: 4cd60f3
Author: Jason Smith (work) <jhs@apache.org>
Authored: Mon Feb 27 04:28:16 2012 +0000
Committer: Jason Smith (work) <jhs@apache.org>
Committed: Mon Feb 27 04:28:16 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/d0d245f7/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