[Jslib] Recent jsLib work

Pete Collins pete at mozdevgroup.com
Wed Aug 31 12:26:17 EDT 2005


>
> FileUtils
>
>  validatePath(aPath);
>
I just rename the brand new function validatePath(aPath) to 
isValidPath(aPath);

As that is a more logical name for what the function does.

For example if you did this:

  fu.isValidPath("C:\\Program Files\\");

on a unix or OSX system, it would be false.

It would be true on a Windows system.

Since the func is brand new I don't believe this quick change will cause 
any repercussions for anyone.

Change reflected in jsLib v, 0.1.299

--pete
 

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813



More information about the Jslib mailing list