Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Commit 0d9a3d1

Browse files
committed
Add HTMLImports + ShadyDOM bundle for Firefox Nightly
Fixes #817
1 parent 068cfc9 commit 0d9a3d1

File tree

4 files changed

+184
-0
lines changed

4 files changed

+184
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
@license
3+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7+
Code distributed by Google as part of the polymer project is also
8+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9+
*/
10+
'use strict';
11+
12+
/*
13+
* Polyfills loaded: HTML Imports, Custom Elements, Shady DOM/Shady CSS
14+
* Used in: Firefox with CustomElements enabled
15+
*/
16+
17+
import '../node_modules/@webcomponents/html-imports/src/html-imports.js';
18+
import '../node_modules/@webcomponents/shadydom/src/shadydom.js';
19+
import '../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js';
20+
import '../src/post-polyfill.js';
21+
import '../src/unresolved.js';

gulpfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ gulp.task('debugify-sd-ce', () => {
106106
return debugify('webcomponents-sd-ce')
107107
});
108108

109+
gulp.task('debugify-hi-sd', () => {
110+
return debugify('webcomponents-hi-sd')
111+
});
112+
109113
gulp.task('closurify-hi', () => {
110114
return closurify('webcomponents-hi')
111115
});
@@ -126,6 +130,10 @@ gulp.task('closurify-sd-ce', () => {
126130
return closurify('webcomponents-sd-ce')
127131
});
128132

133+
gulp.task('closurify-hi-sd', () => {
134+
return closurify('webcomponents-hi-sd')
135+
})
136+
129137
function singleLicenseComment() {
130138
let hasLicense = false;
131139
return (comment) => {
@@ -155,6 +163,7 @@ gulp.task('debug', (cb) => {
155163
const tasks = [
156164
'debugify-hi',
157165
'debugify-hi-ce',
166+
'debugify-hi-sd',
158167
'debugify-hi-sd-ce',
159168
'debugify-hi-sd-ce-pf',
160169
'debugify-sd-ce',
@@ -167,6 +176,7 @@ gulp.task('closure', (cb) => {
167176
const tasks = [
168177
'closurify-hi',
169178
'closurify-hi-ce',
179+
'closurify-hi-sd',
170180
'closurify-hi-sd-ce',
171181
'closurify-hi-sd-ce-pf',
172182
'closurify-sd-ce',

0 commit comments

Comments
 (0)