Permalink
Browse files

Many changes, bugfixes, etc. Visit http://websvn.bluga.net for more i…

…nfos on commits.

just sync'ing


git-svn-id: http://svn.php.net/repository/pear/packages/HTML_AJAX/trunk@206820 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 86bd924 commit f57f76e903770d09ce4e9aeb1752c736d1c5f526 David Coallier committed Feb 9, 2006
Showing with 4,270 additions and 383 deletions.
  1. +7 −0 js/Alias.js
  2. +7 −1 js/Dispatcher.js
  3. +1,730 −163 js/HTML_AJAX.js
  4. +1,369 −74 js/HTML_AJAX_lite.js
  5. +119 −82 js/HttpClient.js
  6. +235 −0 js/IframeXHR.js
  7. +20 −12 js/Loading.js
  8. +257 −39 js/Main.js
  9. +24 −0 js/Request.js
  10. +1 −1 js/build.php
  11. +56 −0 js/clientPool.js
  12. +120 −0 js/priorityQueue.js
  13. +325 −11 js/util.js
View
@@ -0,0 +1,7 @@
+// Alias main HTML_AJAX functions to shorter names
+// See Main.js for License/Author details
+var $u = HTML_AJAX_Util;
+var $a = HTML_AJAX;
+if (!$) {
+ var $ = document.getElementById;
+}
View
@@ -32,7 +32,12 @@ HTML_AJAX_Dispatcher.prototype = {
* Timeout for async calls
*/
timeout: 20000,
-
+
+ /**
+ * Default request priority
+ */
+ priority: 0,
+
/**
* Make an ajax call
*
@@ -49,6 +54,7 @@ HTML_AJAX_Dispatcher.prototype = {
request.contentType = this.contentType;
request.serializer = eval('new HTML_AJAX_Serialize_'+this.serializerType);
request.queue = this.queue;
+ request.priority = this.priority;
for(var i=0; i < args.length; i++) {
request.addArg(i,args[i]);
Oops, something went wrong.

0 comments on commit f57f76e

Please sign in to comment.