Index: client/dart.js |
diff --git a/client/dart.js b/client/dart.js |
index c070ef1a68a6a2b33e92e7a8c3bdce55008e9104..781e70ee0cfda4d421f441b69e95cfd9a9c2cf48 100644 |
--- a/client/dart.js |
+++ b/client/dart.js |
@@ -4,8 +4,9 @@ |
// 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'; |
+ var expirationDate = navigator.webkitStartDart(); |
+ if (expirationDate) { |
+ document.body.innerHTML = 'This build has expired on ' + expirationDate + '. Please download a new Dartium at http://www.dartlang.org/dartium/index.html'; |
} |
} else { |
// TODO: |