Note that JavaScript resources included in this builder are scanned for depenencies. Dependencies will automatically be included, even if they aren't explicitly added to the builder. Refer to the dependency resolution guide for more information on how dependencies are handled.
Example usage:
public class MyApplication extends WebApplication { @Override protected void init() { super.init(); new MergedJavaScriptBuilder() .setPath("/scripts/all.js") .addJQueryUI() .addLibrary("jquery.scrollTo") .addLibrary("jquery.55_utils") .addLibrary("55_utils") .addLibrary("strftime") .addWicketAjaxLibraries() .install(this); } }@since 2.0
|
|