aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/parseJSON.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-09-08 21:05:07 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-09-08 21:05:07 -0400
commit99c123b159e85ab9d97bea65a5ec4fff62023bf9 (patch)
tree6416b60fffdbdc8ee09dfdd3de0aed20b4fdf11d /src/ajax/parseJSON.js
parenteb9cbfcaf6803a07a953e0ca0922a973c5a11016 (diff)
downloadjquery-99c123b159e85ab9d97bea65a5ec4fff62023bf9.tar.gz
jquery-99c123b159e85ab9d97bea65a5ec4fff62023bf9.zip
Move parsing methods to their own files (separates manipulation dependency from core)
Diffstat (limited to 'src/ajax/parseJSON.js')
-rw-r--r--src/ajax/parseJSON.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ajax/parseJSON.js b/src/ajax/parseJSON.js
new file mode 100644
index 000000000..9d2ada95b
--- /dev/null
+++ b/src/ajax/parseJSON.js
@@ -0,0 +1,8 @@
+define([
+ "../core"
+], function( jQuery ) {
+
+ jQuery.parseJSON = JSON.parse;
+
+ return jQuery.parseJSON;
+});