diff options
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/ajax/parseXML.js')
-rw-r--r-- | ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/ajax/parseXML.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/ajax/parseXML.js b/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/ajax/parseXML.js deleted file mode 100644 index 9eeb625ff..000000000 --- a/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/bower_components/jquery/src/ajax/parseXML.js +++ /dev/null @@ -1,28 +0,0 @@ -define([ - "../core" -], function( jQuery ) { - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE9 - try { - tmp = new DOMParser(); - xml = tmp.parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - -return jQuery.parseXML; - -}); |