Allow overriding of getScriptFromUrl.

This commit is contained in:
Michael Herzberg 2015-10-06 22:44:45 +02:00
parent 8227286b38
commit f9dabf04fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
Reader scriptInputStream;
try {