[EHPweb] JS Libraries

Eric M Martinez emartinez at usgs.gov
Thu Aug 12 18:55:23 UTC 2010


- All -

In an effort to help facilitate the sharing and re-use of code (in  
this case, Javascript code), I've set up a Javascript Library  
framework. This framework allows us to browse the set of libraries  
others are already using. This may be helpful when looking for a  
library to complete a specific task. I've consolidated some code (very  
little actually) into the library already and would ask you consider  
contributing future code efforts to the library as well.

Not all Javascript code should go into the library. If you are  
developing a one-off solution then you probably shouldn't add that  
code to the library. However, if your solution can be generalized so  
that it might be re-used, then you probably should add the generalized  
solution to the library. This code library is not limited to only in- 
house code. If you have found a Javascript library on the internet and  
think it may be useful to others, we can add that code into the  
library as well.

Before contributing to the library, please take a moment to read about  
the framework on the library page. This is the same page where you can  
browse the library itself. Future efforts may provide auto-dependency  
tracking or improved annotation functionality. This library is still a  
work in progress so be sure to check back when you make future  
development efforts to see if there is anything new to utilize.

Library Introduction:  (please read)
	http://ehpd-earthquake.cr.usgs.gov/template/js/classes/library.php#introduction

Browse Current Library:
	http://ehpd-earthquake.cr.usgs.gov/template/js/classes/library.php#classes


Thanks,
	~Eric.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/ehpweb/attachments/20100812/128e4169/attachment.html>


More information about the EHPweb mailing list