Chromium Code Reviews| Index: pkg/browser/lib/dart.js |
| diff --git a/pkg/browser/lib/dart.js b/pkg/browser/lib/dart.js |
| index b96581c5396fa05eef4adb548ef1fc4a98432669..0fd6217d2e252bfaae02836c34fbf7a17338d12c 100644 |
| --- a/pkg/browser/lib/dart.js |
| +++ b/pkg/browser/lib/dart.js |
| @@ -4,11 +4,7 @@ |
| (function() { |
| // Bootstrap support for Dart scripts on the page as this script. |
| -if (navigator.webkitStartDart) { |
| - if (!navigator.webkitStartDart()) { |
| - document.body.innerHTML = 'This build has expired. Please download a new Dartium at http://www.dartlang.org/dartium/index.html'; |
| - } |
| -} else { |
| +if (navigator.userAgent.indexOf('(Dart)') === -1) { |
|
ricow1
2013/10/30 06:35:25
same comment as before
|
| // TODO: |
| // - Support in-browser compilation. |
| // - Handle inline Dart scripts. |