Skip to content

Instantly share code, notes, and snippets.

@jasonlemay
Created June 4, 2015 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonlemay/874262ae2d806cabb8ee to your computer and use it in GitHub Desktop.
Save jasonlemay/874262ae2d806cabb8ee to your computer and use it in GitHub Desktop.
package com.arcbees.gwttheo.example.client.resources;
import javax.inject.Inject;
import com.arcbees.gwttheo.example.client.resources.theme.ThemeResources;
public class ResourceLoader {
@Inject
ResourceLoader(
AppResources appResources,
ThemeResources themeResources) {
appResources.normalize().ensureInjected();
appResources.style().ensureInjected();
themeResources.icons().ensureInjected();
// ^ this line
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment