commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript validateFloat.js
Date Wed, 22 Oct 2003 04:18:42 GMT
rleland     2003/10/21 21:18:42

  Modified:    validator/src/javascript/org/apache/commons/validator/javascript
                        validateFloat.js
  Log:
  Bug 23972
  Found missing statement, joinedString
  which was deleted after Validator 1.1.0 release.
  I do see non-printing characters in the Javascript
  but one thing at a time.
  
  Revision  Changes    Path
  1.4       +4 -3      jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloat.js
  
  Index: validateFloat.js
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/javascript/org/apache/commons/validator/javascript/validateFloat.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- validateFloat.js	15 Aug 2003 20:20:40 -0000	1.3
  +++ validateFloat.js	22 Oct 2003 04:18:42 -0000	1.4
  @@ -33,6 +33,7 @@
                       var tempArray = value.split('.');
                       //Strip off leading '0'
                       var zeroIndex = 0;
  +                    var joinedString= tempArray.join('');
                       while (joinedString.charAt(zeroIndex) == '0') {
                           zeroIndex++;
                       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message