| Index: pkg/browser/lib/dart.js
|
| diff --git a/pkg/browser/lib/dart.js b/pkg/browser/lib/dart.js
|
| index f8d686e1ab832e4534b442a34a86ecbaf44f17d6..4dd825d1d14268a8c3db7c966394eba2256fcb31 100644
|
| --- a/pkg/browser/lib/dart.js
|
| +++ b/pkg/browser/lib/dart.js
|
| @@ -4,7 +4,8 @@
|
|
|
| (function() {
|
| // Bootstrap support for Dart scripts on the page as this script.
|
| -if (navigator.userAgent.indexOf('(Dart)') === -1) {
|
| +// TODO(18463): Remove user agent check. We will remove 'Dart' from there.
|
| +if (!navigator.dartEnabled && (navigator.userAgent.indexOf('(Dart)') === -1)) {
|
| // TODO:
|
| // - Support in-browser compilation.
|
| // - Handle inline Dart scripts.
|
|
|