Nice catch. Thanks. Fixed.

On Wed, Jul 1, 2009 at 9:35 AM, Michael Fuery (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

>
> There seems to be a typo here:
> http://mootools.net/docs/more/Forms/FormValidator
>
> Under 'InputValidator', the example code, minLength.test method has a
> syntax error
>     test: function(element, props){
>         //if the value is >= than the minLength value, element passes
> test
>         return (element.value.length >= $pick(props.minLength, 0));
>         else return false;
>     }
>
> Remove the else with no if.
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/-Moo--Typo-on-MooMore-online-docs-tp3190161p3190161.html
> To start a new topic under MooTools Users, email
> [email protected]<ml-node%[email protected]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
Clientcide:  http://www.clientcide.com www.clientcide.com 
-- 
View this message in context: 
http://n2.nabble.com/-Moo--Typo-on-MooMore-online-docs-tp3190161p3214157.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to