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:
John Blackbourn 2016-02-28 02:18:22 +00:00
parent 54adcce28d
commit 0436a2c2c6
1 changed files with 1 additions and 2 deletions

View File

@ -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 ) {