public interface JavascriptAppender
| Modifier and Type | Method and Description |
|---|---|
void |
appendFile(String name)
Loads the given file form application assets directory and appends its content to the buffer.
|
void |
appendFile(String name,
boolean checkComments)
Loads the given file form application assets directory and appends its content to the buffer.
|
void |
appendString(String chunk)
Appends javascript chunk.
|
void |
appendString(String chunk,
boolean checkComments)
Appends javascript chunk.
|
void appendFile(String name)
name - Filename in the asset directoryvoid appendFile(String name, boolean checkComments)
name - Filename in the asset directorycheckComments - may be false if file doesn't have any single line commentsvoid appendString(String chunk)
chunk - JS chunk to addvoid appendString(String chunk, boolean checkComments)
chunk - JS chunk to addcheckComments - may be false if chunk doesn't have any single line comments