@Override public List<HeaderItem> getDependencies() { return Dependencies.combine( super.getDependencies(), JavaScriptHeaderItem.forReference( ABaseWebApplication.get().getJavaScriptLibrarySettings().getJQueryReference())); }
@Override public Iterable<? extends HeaderItem> getDependencies() { final ResourceReference backingLibraryReference; if (Application.exists()) { backingLibraryReference = Application.get().getJavaScriptLibrarySettings().getJQueryReference(); } else { backingLibraryReference = JQueryResourceReference.get(); } return Dependencies.combine( super.getDependencies(), JavaScriptHeaderItem.forReference(backingLibraryReference)); }
@Override public Iterable<? extends HeaderItem> getDependencies() { return Dependencies.combine( super.getDependencies(), JavaScriptHeaderItem.forReference(Bootstrap.getSettings().getJsResourceReference())); }