Skip to content

Instantly share code, notes, and snippets.

@svenmeier
svenmeier / ajax-suspension.patch
Created September 25, 2019 07:54
Wicket Ajax suspension
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 70dd69d..bb952bc 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
@@ -933,16 +933,6 @@
*/
processEvaluation: function (context, node) {
- // used to match evaluation scripts which manually call FunctionsExecuter's notify() when ready
- var scriptWithIdentifierR = new RegExp("\\(function\\(\\)\\{([a-zA-Z_]\\w*)\\|((.|\\n)*)?\\}\\)\\(\\);$");
package org.apache.wicket.examples.compref;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.wicket.Component;