Package | Description |
---|---|
org.apache.tapestry5.internal.services.javascript |
[INTERNAL USE ONLY] JavaScript support implementations; API subject to change
|
org.apache.tapestry5.services.javascript |
Support for Javascript (and CSS), including dynamically-added JavaScript and
services that manage dynamically-added links to JavaScript (and CSS) assets.
|
Constructor and Description |
---|
ModuleManagerImpl(ResponseCompressionAnalyzer compressionAnalyzer,
AssetSource assetSource,
Map<String,JavaScriptModuleConfiguration> configuration,
Messages globalMessages,
StreamableResourceSource streamableResourceSource,
boolean compactJSON,
boolean productionMode,
String modulePathPrefix,
PathConstructor pathConstructor) |
Modifier and Type | Method and Description |
---|---|
JavaScriptModuleConfiguration |
AMDWrapper.asJavaScriptModuleConfiguration()
Return this wrapper instance as a
JavaScriptModuleConfiguration ,
so it can be contributed to the ModuleManager 's configuration. |
JavaScriptModuleConfiguration |
JavaScriptModuleConfiguration.dependsOn(String... moduleNames)
A list of other module names the shim depends on.
|
JavaScriptModuleConfiguration |
JavaScriptModuleConfiguration.exports(String exports)
The name of a global variable exported by the module.
|
JavaScriptModuleConfiguration |
JavaScriptModuleConfiguration.initializeWith(String expression)
Used as an alternative to exports(String), this allows a short expression to be specified; the
expression is used to initialize, clean up, and (usually) return the module's export value.
|
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.