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=1f3a3c90baeb7aab5097d4df9f9331c16d7520db;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, ''))