Updated Branches:
  refs/heads/master 92700a295 -> 266ca764d

Update the comments to make them more clear


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/266ca764
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/266ca764
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/266ca764

Branch: refs/heads/master
Commit: 266ca764d514a60ac11e42f5fafa28656529d366
Parents: 92700a2
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Thu Feb 21 17:08:43 2013 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Thu Feb 21 17:08:43 2013 +0200

----------------------------------------------------------------------
 .../wicket/ajax/res/js/wicket-ajax-jquery.js       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/266ca764/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js 
b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
index 664c48f..93175d0 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
+++ 
b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
@@ -1045,7 +1045,8 @@
 
                                // test if the javascript is in form of 
identifier|code
                                // if it is, we allow for letting the 
javascript decide when the rest of processing will continue
-                               // by invoking identifier();
+                               // by invoking identifier();. This allows usage 
of some asynchronous/deferred logic before the next script
+                               // See WICKET-5039
                                var res = text.match(scriptWithIdentifierR);
 
                                if (res !== null) {

Reply via email to