| Index: pkg/browser/lib/dart.js
|
| diff --git a/pkg/browser/lib/dart.js b/pkg/browser/lib/dart.js
|
| index 0fd6217d2e252bfaae02836c34fbf7a17338d12c..f8d686e1ab832e4534b442a34a86ecbaf44f17d6 100644
|
| --- a/pkg/browser/lib/dart.js
|
| +++ b/pkg/browser/lib/dart.js
|
| @@ -11,10 +11,7 @@ if (navigator.userAgent.indexOf('(Dart)') === -1) {
|
|
|
| // Fall back to compiled JS. Run through all the scripts and
|
| // replace them if they have a type that indicate that they source
|
| - // in Dart code.
|
| - //
|
| - // <script type="application/dart" src="..."></script>
|
| - //
|
| + // in Dart code (type="application/dart").
|
| var scripts = document.getElementsByTagName("script");
|
| var length = scripts.length;
|
| for (var i = 0; i < length; ++i) {
|
|
|