Editor: Remove an unused JavaScript variable so the JS lint tests pass.
See #33301 git-svn-id: https://develop.svn.wordpress.org/trunk@36751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
54adcce28d
commit
0436a2c2c6
|
@ -461,8 +461,7 @@ var wpLink;
|
|||
},
|
||||
|
||||
getUrlFromSelection: function( selection ) {
|
||||
var url,
|
||||
emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
|
||||
var emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
|
||||
urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i;
|
||||
|
||||
if ( ! selection ) {
|
||||
|
|
Loading…
Reference in New Issue