Index: client/dart.js |
diff --git a/client/dart.js b/client/dart.js |
index 7ccf42b9e6609934521c87add98d9654751d9036..d2f17415d2b2e72a337a22c9a00b7f21a71e98c9 100644 |
--- a/client/dart.js |
+++ b/client/dart.js |
@@ -4,7 +4,9 @@ |
// Bootstrap support for Dart scripts on the page as this script. |
-if (!document.implementation.hasFeature('dart', '1.0')) { |
+if (navigator.webkitStartDart) { |
+ navigator.webkitStartDart(); |
+} else if (!document.implementation.hasFeature('dart', '1.0')) { |
vsm
2012/02/01 15:35:08
Are you leaving hasFeature for staging purposes on
antonm
2012/02/01 17:07:00
Yes, hasFeature is only left for staging purposes
|
window.addEventListener("DOMContentLoaded", function (e) { |
// Fall back to compiled JS. |
var scripts = document.getElementsByTagName("script"); |