function rewriteAstBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates) {
    rewriteElementAttrsBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates);
    rewriteStyleTagsBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates);
    setDomModuleAssetpaths(ast, oldBaseUrl, newBaseUrl);
}
/**
 * Walk through an import document, and rewrite all urls so they are
 * correctly relative to the main document url as they've been
 * imported from the import url.
 */
Walk through an import document, and rewrite all urls so they are
correctly relative to the main document url as they've been
imported from the import url.
Walk through an import document and rewrite all urls so they are correctly relative to the main document url as they ' ve been imported from the import url .
function rewriteAstBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates) {
    rewriteElementAttrsBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates);
    rewriteStyleTagsBaseUrl(ast, oldBaseUrl, newBaseUrl, rewriteUrlsInTemplates);
    setDomModuleAssetpaths(ast, oldBaseUrl, newBaseUrl);
}
function rewriteAstBaseUrl ( ast , oldBaseUrl , newBaseUrl , rewriteUrlsInTemplates ) { rewriteElementAttrsBaseUrl ( ast , oldBaseUrl , newBaseUrl , rewriteUrlsInTemplates ) ; rewriteStyleTagsBaseUrl ( ast , oldBaseUrl , newBaseUrl , rewriteUrlsInTemplates ) ; setDomModuleAssetpaths ( ast , oldBaseUrl , newBaseUrl ) ; }
Walk through an import document, and rewrite all urls so they are
 correctly relative to the main document url as they've been
 imported from the import url.
Walk through an import document and rewrite all urls so they are correctly relative to the main document url as they ' ve been imported from the import url .