# Uses of Class
org.apache.tapestry5.services.javascript.JavaScriptModuleConfiguration

Packages that use JavaScriptModuleConfiguration
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.

- ## Uses of JavaScriptModuleConfiguration in org.apache.tapestry5.internal.services.javascript

  Constructor parameters in org.apache.tapestry5.internal.services.javascript with type arguments of type JavaScriptModuleConfiguration
  Modifier
  Constructor
  Description
  ``
  `ModuleManagerImpl(ResponseCompressionAnalyzer compressionAnalyzer, AssetSource assetSource, Map<String,JavaScriptModuleConfiguration> configuration, Messages globalMessages, StreamableResourceSource streamableResourceSource, boolean compactJSON, boolean productionMode, String modulePathPrefix, PathConstructor pathConstructor)`

- ## Uses of JavaScriptModuleConfiguration in org.apache.tapestry5.services.javascript

  Methods in org.apache.tapestry5.services.javascript that return JavaScriptModuleConfiguration
  Modifier and Type
  Method
  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.