mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
add/modify comments
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6909 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0be93134f9
commit
27c622bdfc
1 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* @file autolink.js
|
||||||
|
* @brief javascript code for autolink addon
|
||||||
|
* @author taggon (gonom9@gmail.com)
|
||||||
|
*/
|
||||||
(function($){
|
(function($){
|
||||||
var protocol_re = '(https?|ftp|news|telnet|irc)://';
|
var protocol_re = '(https?|ftp|news|telnet|irc)://';
|
||||||
var domain_re = '(?:[\\w\\-]+\\.)+(?:[a-z]+)';
|
var domain_re = '(?:[\\w\\-]+\\.)+(?:[a-z]+)';
|
||||||
|
|
@ -43,7 +48,7 @@
|
||||||
$(obj)
|
$(obj)
|
||||||
.contents()
|
.contents()
|
||||||
.each(function(){
|
.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('');
|
url_regex.exec('');
|
||||||
|
|
||||||
if (!$(this).is('a,pre,xml,code,script,style,:input')) {
|
if (!$(this).is('a,pre,xml,code,script,style,:input')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue