File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Distros/HaxeDevelop/FlashDevelop/Bin/Debug/StartPage/javascript
FlashDevelop/Bin/Debug/StartPage/javascript Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ function handleVersionInfo(text, status)
113
113
var html = "" ;
114
114
if ( status == 200 )
115
115
{
116
- var info = text . split ( " \r\n" ) ;
116
+ var info = text . split ( / [ \r \n ] + / g ) ;
117
117
var version = decodeURIComponent ( getUrlParameter ( "v" ) ) ;
118
118
html = formatString ( versionAvailableTemplate , info [ 0 ] , info [ 1 ] ) ;
119
119
if ( version && ( ( info [ 0 ] < version ) - ( version < info [ 0 ] ) ) == - 1 )
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function handleVersionInfo(text, status)
109
109
var html = "" ;
110
110
if ( status == 200 )
111
111
{
112
- var info = text . split ( " \r\n" ) ;
112
+ var info = text . split ( / [ \r \n ] + / g ) ;
113
113
var version = decodeURIComponent ( getUrlParameter ( "v" ) ) ;
114
114
html = formatString ( versionAvailableTemplate , info [ 0 ] , info [ 1 ] ) ;
115
115
if ( version && ( ( info [ 0 ] < version ) - ( version < info [ 0 ] ) ) == - 1 )
@@ -207,8 +207,8 @@ function handleXmlData(projectXml, rssUrl)
207
207
{
208
208
if ( rssUrl != null )
209
209
{
210
- var fd3Url = "http://www.flashdevelop.org/latest.txt" ;
211
- loadTextDocument ( fd3Url , handleVersionInfo ) ;
210
+ var fdUrl = "http://www.flashdevelop.org/latest.txt" ;
211
+ loadTextDocument ( fdUrl , handleVersionInfo ) ;
212
212
loadTextDocument ( rssUrl , handleRssFeedXml ) ;
213
213
}
214
214
var xml = parseXmlDocument ( projectXml ) ;
You can’t perform that action at this time.
0 commit comments