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

Unified Diff: dart/site/try/src/ui.dart

Issue 340343006: Send console messages through interaction manager. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add comments. Created 6 years, 6 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
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/ui.dart
diff --git a/dart/site/try/src/ui.dart b/dart/site/try/src/ui.dart
index 0c7d24dc4ab73b7efb319f850962e5fca71b6274..e678f389035e7a431b8162c86d0bdcc6ac91ac58 100644
--- a/dart/site/try/src/ui.dart
+++ b/dart/site/try/src/ui.dart
@@ -92,6 +92,7 @@ void onCodeChange(Event event) {
Function action = codeCallbacks[id];
if (action != null) action(event);
outputFrame.style.display = 'none';
+ outputDiv.nodes.clear();
}
buildUI() {
@@ -198,7 +199,7 @@ buildUI() {
var settingsElement = document.getElementById('settings');
settingsElement.onClick.listen(openSettings);
- window.onMessage.listen(interaction.onMessage);
+ window.onMessage.listen(interaction.onWindowMessage);
observer = new MutationObserver(interaction.onMutation)
..observe(
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698