add/modify comments

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6909 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2009-11-03 09:16:48 +00:00
parent 0be93134f9
commit 27c622bdfc

View file

@ -1,3 +1,8 @@
/**
* @file autolink.js
* @brief javascript code for autolink addon
* @author taggon (gonom9@gmail.com)
*/
(function($){
var protocol_re = '(https?|ftp|news|telnet|irc)://';
var domain_re = '(?:[\\w\\-]+\\.)+(?:[a-z]+)';
@ -43,7 +48,7 @@
$(obj)
.contents()
.each(function(){
// FIXED: When this meanless code wasn't executed, url_regex do not run correctly. why?
// FIX ME : When this meanless code wasn't executed, url_regex do not run correctly. why?
url_regex.exec('');
if (!$(this).is('a,pre,xml,code,script,style,:input')) {