shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1146786 - /shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java
Date Thu, 14 Jul 2011 16:43:01 GMT
Author: johnh
Date: Thu Jul 14 16:43:01 2011
New Revision: 1146786

URL: http://svn.apache.org/viewvc?rev=1146786&view=rev
Log:
Make createOnloadScript() method overridable.


Modified:
    shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java

Modified: shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java
URL: http://svn.apache.org/viewvc/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java?rev=1146786&r1=1146785&r2=1146786&view=diff
==============================================================================
--- shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java
(original)
+++ shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/AddOnloadFunctionProcessor.java
Thu Jul 14 16:43:01 2011
@@ -82,7 +82,7 @@ public class AddOnloadFunctionProcessor 
   }
   
   @VisibleForTesting
-  String createOnloadScript(String function) {
+  protected String createOnloadScript(String function) {
     return String.format(ONLOAD_JS_TPL, StringEscapeUtils.escapeJavaScript(function));
   }
 



Mime
View raw message