Skip to content

Commit f60d66c

Browse files
committed
Added shadow_dom polyfill to make the app run in other browsers
1 parent 439e932 commit f60d66c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Chapter_07/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ dependencies:
44
angular: any
55
browser: any
66
js: any
7+
shadow_dom: any
78
dev_dependencies:
89
unittest: any

Chapter_07/web/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99

1010
<script type="application/dart" src="main.dart"></script>
1111
<script type="text/javascript" src="packages/browser/dart.js"></script>
12+
<script src="packages/shadow_dom/shadow_dom.debug.js"></script>
1213
</body>
1314
</html>

0 commit comments

Comments
 (0)