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

Unified Diff: lib/runtime/dart_library.js

Issue 1625563002: Use the great new Devtools API for custom formatters. Now Dart objects are now generally as easy to… (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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: lib/runtime/dart_library.js
diff --git a/lib/runtime/dart_library.js b/lib/runtime/dart_library.js
index 223744939e9190cb5cc453bca953af992d60793c..3200ad13527ba0b6394504d02406fd5561ae4230 100644
--- a/lib/runtime/dart_library.js
+++ b/lib/runtime/dart_library.js
@@ -147,6 +147,11 @@ var dart_library =
DOMTokenList.prototype.get = function(i) { return this[i]; };
HTMLCollection.prototype.get = function(i) { return this[i]; };
}
+
+ // This import is only needed for chrome debugging. We should provide an
+ // option to compile without it.
+ var devtoolsDebugger = import_('dart/_debugger');
+ devtoolsDebugger.registerDevtoolsFormatter();
}
})(dart_library);

Powered by Google App Engine
This is Rietveld 408576698