javascript cleaning
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 10 Nov 2008 18:11:17 +0100
changeset 12 95bc1d15349b
parent 11 db9c539e0b1b
child 13 bae30087db21
javascript cleaning
web/data/cubicweb.ajax.js
web/data/cubicweb.compat.js
--- a/web/data/cubicweb.ajax.js	Thu Nov 06 16:21:57 2008 -0800
+++ b/web/data/cubicweb.ajax.js	Mon Nov 10 18:11:17 2008 +0100
@@ -222,7 +222,6 @@
     rql = rql || '';
     nodeid = nodeid || (compid + 'Component');
     extraargs = extraargs || {};
-  log('extraargs =', extraargs);
     var node = getNode(nodeid);
     var d = async_rawremote_exec('component', compid, rql, registry, extraargs);
     d.addCallback(function(result, req) {
--- a/web/data/cubicweb.compat.js	Thu Nov 06 16:21:57 2008 -0800
+++ b/web/data/cubicweb.compat.js	Mon Nov 10 18:11:17 2008 +0100
@@ -49,14 +49,14 @@
     jQuery(node).removeClass(klass);
 }
 
-hasElementClass = jQuery.className.has
+hasElementClass = jQuery.className.has;
 
 
 function partial(func) {
     var args = sliceList(arguments, 1);
     return function() {
 	return func.apply(null, merge(args, arguments));
-    }
+    };
 }