Skip to content

Commit ceee533

Browse files
authored
Merge pull request #95 from tjmonsi/release-0.2.1
Release 0.2.1
2 parents 8a35f5d + c3c231f commit ceee533

File tree

6 files changed

+1855
-1053
lines changed

6 files changed

+1855
-1053
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,11 @@ node_js:
99
before_install:
1010
- export DISPLAY=:99.0
1111
- sh -e /etc/init.d/xvfb start
12-
- sudo apt install -y jq
1312
script: npm test && npm run wct-sauce
1413
branches:
1514
only:
1615
- master
1716
- develop
18-
before_deploy:
19-
- build_version=$(cat package.json | jq '.version')
20-
- build_version=${build_version#\"}
21-
- build_version=${build_version%\"}
22-
- git tag -f v${build_version}
2317
deploy:
2418
- provider: releases
2519
skip_cleanup: true

element-lite-lit.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { dedupingMixin } from './lib/deduping-mixin.js';
44
import { render, html } from './lib/lit-html/lib/lit-extended.js';
5+
import { prepareShadyCSS } from './polyfills/shady-css.js';
56

67
export { html };
78
export const ElementLiteLit = dedupingMixin(base => {
@@ -34,6 +35,7 @@ export const ElementLiteLit = dedupingMixin(base => {
3435

3536
if (result && this.shadowRoot) {
3637
render(this.render(this) || html``, /** @type {DocumentFragment} */(this.shadowRoot));
38+
if (window.ShadyCSS) prepareShadyCSS(this);
3739
}
3840
}
3941
}

element-lite.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ElementLiteStatic } from './element-lite-static.js';
33
import { ElementLiteLit } from './element-lite-lit.js';
44
import { dedupingMixin } from './lib/deduping-mixin.js';
55
import { render, html } from './lib/lit-html/lib/lit-extended.js';
6+
import { prepareShadyCSS } from './polyfills/shady-css.js';
67

78
export { html, ElementLiteBase, ElementLiteStatic, ElementLiteLit };
89
export const ElementLite = dedupingMixin(base => {
@@ -27,6 +28,7 @@ export const ElementLite = dedupingMixin(base => {
2728
const result = this.render(this);
2829
if (result) {
2930
render(this.render(this) || html``, this.shadowRoot || this);
31+
if (window.ShadyCSS) prepareShadyCSS(this);
3032
}
3133
}
3234

0 commit comments

Comments
 (0)