[Checkins] SVN: jquery.j Improve javascript implementations

Roger Ineichen roger at projekt01.ch
Fri May 25 02:17:22 EDT 2007


Log message for revision 75955:
  Improve javascript implementations

Changed:
  U   jquery.javascript/trunk/src/jquery/javascript/js/json.js
  U   jquery.javascript/trunk/src/jquery/javascript/js/xmlhttp.js
  U   jquery.jsonform/trunk/src/jquery/jsonform/jsonform.validate.js

-=-
Modified: jquery.javascript/trunk/src/jquery/javascript/js/json.js
===================================================================
--- jquery.javascript/trunk/src/jquery/javascript/js/json.js	2007-05-25 06:16:28 UTC (rev 75954)
+++ jquery.javascript/trunk/src/jquery/javascript/js/json.js	2007-05-25 06:17:22 UTC (rev 75955)
@@ -1,7 +1,7 @@
 //----------------------------------------------------------------------------
 /** 
  * @fileoverview JSON-RPC client implementation 
- * @author Roger Ineichen dev at projekt01.ch
+ * @author Roger Ineichen dev at projekt01 dot ch
  * @version Initial, not documented 
  */
 //----------------------------------------------------------------------------

Modified: jquery.javascript/trunk/src/jquery/javascript/js/xmlhttp.js
===================================================================
--- jquery.javascript/trunk/src/jquery/javascript/js/xmlhttp.js	2007-05-25 06:16:28 UTC (rev 75954)
+++ jquery.javascript/trunk/src/jquery/javascript/js/xmlhttp.js	2007-05-25 06:17:22 UTC (rev 75955)
@@ -3,7 +3,7 @@
  * @fileoverview Cross browser XMLHttpRequest implementation
  * Make sure the response set the Header to 'no-cache'. 
  *
- * @author Roger Ineichen dev at projekt01.ch
+ * @author Roger Ineichen dev at projekt01 dot ch
  * @version Draft, not complete documented 
  */
 //----------------------------------------------------------------------------

Modified: jquery.jsonform/trunk/src/jquery/jsonform/jsonform.validate.js
===================================================================
--- jquery.jsonform/trunk/src/jquery/jsonform/jsonform.validate.js	2007-05-25 06:16:28 UTC (rev 75954)
+++ jquery.jsonform/trunk/src/jquery/jsonform/jsonform.validate.js	2007-05-25 06:17:22 UTC (rev 75955)
@@ -5,12 +5,13 @@
  * The p01/json/xmlhttp.js and p01/json/json.js are used for doing this. 
  *
  * @author Roger Ineichen dev at projekt01.ch
- * @version Beta 0.1. 
+ * @version Alpha 0.1. I'll change the implementation and add options 
  */
 //----------------------------------------------------------------------------
 
 /** @private */
 function showValidationError(response) {
+    // will get changed to JQuery call including options for the element id, ri
 	var ele = document.getElementById(response.id);
 	if (response.result == 'OK') {
 	    $(ele).removeClass('invalide');
@@ -43,6 +44,7 @@
  * @return JQuery, uses the built in showValidationError callback.
  */
 jQuery.fn.jsonValidate = function() {
+    // Implement options for element id and callback etc. ri
     return this.each(function(){
         $(this).blur(function(){
         	var url = viewURL;



More information about the Checkins mailing list