org.webjars
public final class RequireJS extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
setupJavaScript |
| Constructor and Description |
|---|
RequireJS() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSetupJavaScript(String webjarUrlPrefix)
Returns the JavaScript that is used to setup the RequireJS config.
|
protected static String |
getWebJarConfig(Map.Entry<String,String> webjar) |
protected static String setupJavaScript
public static String getSetupJavaScript(String webjarUrlPrefix)
webjarUrlPrefix - The URL prefix where the WebJars can be downloaded from with a trailing slash, e.g. /webjars/Copyright © 2014. All Rights Reserved.