aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/parseXML.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/parseXML.js')
-rw-r--r--src/ajax/parseXML.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ajax/parseXML.js b/src/ajax/parseXML.js
index 0bdc49a7c..d547eab53 100644
--- a/src/ajax/parseXML.js
+++ b/src/ajax/parseXML.js
@@ -1,8 +1,4 @@
-define( [
- "../core"
-], function( jQuery ) {
-
-"use strict";
+import jQuery from "../core.js";
// Cross-browser xml parsing
jQuery.parseXML = function( data ) {
@@ -25,6 +21,4 @@ jQuery.parseXML = function( data ) {
return xml;
};
-return jQuery.parseXML;
-
-} );
+export default jQuery.parseXML;