Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 126a89a

Browse files
committed
add web animations polyfill
1 parent 37429b0 commit 126a89a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

bower.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#2.0-preview",
3434
"iron-test-helpers": "PolymerElements/iron-test-helpers#2.0-preview",
3535
"web-component-tester": "Polymer/web-component-tester#^6.0.0-prerelease.6",
36-
"webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.1"
36+
"webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.1",
37+
"web-animations-js": "web-animations/web-animations-js#^2.2"
3738
},
3839
"variants": {
3940
"1.x": {
@@ -52,7 +53,8 @@
5253
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0",
5354
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
5455
"web-component-tester": "^4.0.0",
55-
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
56+
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
57+
"web-animations-js": "web-animations/web-animations-js#^2.2"
5658
}
5759
}
5860
}

demo/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
<link rel="import" href="../../iron-demo-helpers/demo-pages-shared-styles.html">
2323
<link rel="import" href="../paper-swatch-picker.html">
2424

25+
<!-- Ensure Web Animations polyfill is loaded since neon-animation 2.0 doesn't import it -->
26+
<link rel="import" href="../../neon-animation/web-animations.html">
27+
2528
<custom-style>
2629
<style is="custom-style" include="demo-pages-shared-styles">
2730
paper-swatch-picker {

test/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<body>
1818
<script>
1919
WCT.loadSuites([
20-
'basic.html',
20+
'basic.html?wc-ce=true&wc-shadydom=true',
2121
'basic.html?dom=shadow'
2222
]);
2323
</script>

0 commit comments

Comments
 (0)