public final class Injector extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureCssInjected(ResourcePrototype resource)
Injects a CSS style resource if not injected yet.
|
static void |
ensureInjected(ResourcePrototype resource)
Injects a script resource if not injected yet.
|
public static void ensureInjected(ResourcePrototype resource)
resource - script resourcepublic static void ensureCssInjected(ResourcePrototype resource)
resource - CSS style resource