You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/11/01 21:44:32 UTC
[3/5] git commit: Add a reference to ExtensibleJavaScriptStack
Add a reference to ExtensibleJavaScriptStack
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/60268e6d
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/60268e6d
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/60268e6d
Branch: refs/heads/5.4-js-rewrite
Commit: 60268e6d5c1be0024b582ad350a283d8e3beb130
Parents: 9b83cfa
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Nov 1 13:35:44 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Nov 1 13:35:44 2012 -0700
----------------------------------------------------------------------
.../services/javascript/JavaScriptStack.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/60268e6d/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/JavaScriptStack.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/JavaScriptStack.java b/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/JavaScriptStack.java
index 1106e2d..da60b28 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/JavaScriptStack.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/JavaScriptStack.java
@@ -35,6 +35,8 @@ import java.util.List;
* Implementations may need to inject the {@link ThreadLocale} service in order to determine the current locale (if any
* of the JavaScript library or stylesheet assets are localized). They will generally need to inject the
* {@link AssetSource} service as well.
+ * <p/>
+ * The {@link ExtensibleJavaScriptStack} is the best way to create new stacks.
*
* @see ThreadLocale
* @since 5.2.0
@@ -64,7 +66,7 @@ public interface JavaScriptStack
* until the DOM is loaded). As with the other methods, if localization is a factor, the result of this method
* should be localized.
*
- * @deprecated No longer used in Tapestry 5.4; may be removed in a future release. Implementations
+ * @deprecated Deprecated in Tapestry 5.4; may be removed in a future release. Implementations
* may return null.
*/
String getInitialization();