| Index: pkg/polymer/lib/src/js/shadow_dartium.js
|
| diff --git a/pkg/polymer/lib/src/js/shadow_dartium.js b/pkg/polymer/lib/src/js/shadow_dartium.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..163f9841a3f98fb71d5dffda164204d5d967271d
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/src/js/shadow_dartium.js
|
| @@ -0,0 +1,6 @@
|
| +// Prevent polyfilled Shadow DOM in Dartium
|
| +if (navigator.userAgent.indexOf('(Dart)') !== -1) {
|
| + window.Platform = window.Platform || {};
|
| + Platform.flags = Platform.flags || {};
|
| + Platform.flags.shadow = 'native';
|
| +}
|
|
|