From: Manolo Carrasco Date: Thu, 8 Oct 2015 08:25:54 +0000 (+0200) Subject: Removing polyfill since its handled by site X-Git-Tag: 0.3.0-beta10~2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F12%2Fhead;p=vaadin-core.git Removing polyfill since its handled by site --- diff --git a/tasks/docsite.js b/tasks/docsite.js index 7c99868..bce91c8 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -75,7 +75,9 @@ config.components.forEach(function (n) { var id = $2.trim().toLowerCase().replace(/[^\w]+/g,'_'); return '' + $2 + $3; })) - // embed files are displayed as iframe, we don't remove above fragments like body + // Remove webcomponents polyfill since it's added at top of the site + .pipe(replace(/^.*\s*?\n?/img, '')) + // embed files are displayed as iframe, we don't remove above fragments like body or polyfill .pipe(addsrc(componentDemo + '/*-embed.html')) // Remove Analytics .pipe(replace(/^.*\s*?\n?/img, ''))