mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Scratch the TODO, just removing those text replacements. Not necessary anymore.
This commit is contained in:
@@ -123,17 +123,7 @@ function LazyDataLoader( config ){
|
||||
'* text' : window.String,
|
||||
'text html' : true,
|
||||
'text xml' : jQuery.parseXML,
|
||||
|
||||
// add NaN, inf, -inf handling to jquery json parser (by default)
|
||||
// TODO: This functionality shouldn't be required as of
|
||||
// 2006c39aea16, and we should probably assume correct JSON instead
|
||||
// of stripping out these strings.
|
||||
'text json' : function( json ){
|
||||
json = json.replace( /NaN/g, 'null' );
|
||||
json = json.replace( /-Infinity/g, 'null' );
|
||||
json = json.replace( /Infinity/g, 'null' );
|
||||
return jQuery.parseJSON( json );
|
||||
}
|
||||
'text json' : jQuery.parseJSON
|
||||
},
|
||||
|
||||
// interface to begin load (and first recursive call)
|
||||
|
||||
Reference in New Issue
Block a user