Allow overriding of getScriptFromUrl.
This commit is contained in:
parent
8227286b38
commit
f9dabf04fc
|
@ -234,7 +234,7 @@ public class DomLessSourceExtractor extends JSSourceExtractor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void getScriptFromUrl(String urlAsString, ITag scriptTag) throws IOException, MalformedURLException {
|
protected void getScriptFromUrl(String urlAsString, ITag scriptTag) throws IOException, MalformedURLException {
|
||||||
URL scriptSrc = new URL(entrypointUrl, urlAsString);
|
URL scriptSrc = new URL(entrypointUrl, urlAsString);
|
||||||
Reader scriptInputStream;
|
Reader scriptInputStream;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue