Skip to content
Permalink
Browse files

Removed re-usability from jXHR object (no more open, send & onreadyst…

…atechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.
  • Loading branch information...
jaubourg committed Dec 25, 2010
1 parent 6f53be1 commit 981d1e08eb00f4b5c29ad1f3977a45e30c93ad70
Showing with 583 additions and 907 deletions.
  1. +0 −1 Makefile
  2. +0 −1 Rakefile
  3. +0 −1 build.xml
  4. +576 −10 src/ajax.js
  5. +1 −1 src/transports/jsonp.js
  6. +1 −1 src/transports/script.js
  7. +1 −1 src/transports/xhr.js
  8. +0 −728 src/xhr.js
  9. +0 −1 test/index.html
  10. +4 −162 test/unit/ajax.js
@@ -24,7 +24,6 @@ BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/manipulation.js\
${SRC_DIR}/css.js\
${SRC_DIR}/ajax.js\
${SRC_DIR}/xhr.js\
${SRC_DIR}/transports/jsonp.js\
${SRC_DIR}/transports/script.js\
${SRC_DIR}/transports/xhr.js\
@@ -22,7 +22,6 @@ base_files = %w{
manipulation
css
ajax
xhr
transports/jsonp
transports/script
transports/xhr
@@ -63,7 +63,6 @@
<fileset file="src/manipulation.js" />
<fileset file="src/css.js" />
<fileset file="src/ajax.js" />
<fileset file="src/xhr.js" />
<fileset file="src/transports/jsonp.js" />
<fileset file="src/transports/script.js" />
<fileset file="src/transports/xhr.js" />
Oops, something went wrong.

0 comments on commit 981d1e0

Please sign in to comment.
You can’t perform that action at this time.