Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js

Issue 509563004: Give instances their own model class; move DartErrors out of instance-ref into their own error-ref. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase and build Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js b/runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js
index 419ebb12ea8a2e67c60addbbce8a053f5c327bd5..62d72a7cac5ea429a3d5ae9a6b4fab193d518cdb 100644
--- a/runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/polymer/boot.js
@@ -33,12 +33,7 @@
/// discovered in the HTML document.
(function() {
// Only run in Dartium.
- if (!navigator.dartEnabled &&
- // TODO(sigmund): remove userAgent check once 1.6 rolls as stable.
- // See: dartbug.com/18463
- (navigator.userAgent.indexOf('(Dart)') === -1)) {
- return;
- }
+ if (navigator.userAgent.indexOf('(Dart)') === -1) return;
// Extract a Dart import URL from a script tag, which is the 'src' attribute
// of the script tag, or a data-url with the script contents for inlined code.

Powered by Google App Engine
This is Rietveld 408576698