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

Unified Diff: samples/chat/dart_client/chat.dart

Issue 9495007: Prepare the HTTP library for inclusion in the standalone VM (step 2) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 8 years, 10 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 | « samples/chat/chat_stress_client.dart ('k') | samples/chat/http.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/chat/dart_client/chat.dart
diff --git a/samples/chat/dart_client/chat.dart b/samples/chat/dart_client/chat.dart
index 1561a2952d5500717388ee69e015eaab3331a0fe..3c2ba5480fa68c23044d221481fea981d9efb7bc 100644
--- a/samples/chat/dart_client/chat.dart
+++ b/samples/chat/dart_client/chat.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -226,7 +226,7 @@ class Chat {
text += "joined";
} else if (message["type"] == "message") {
text += message["message"];
- } else if (message["type"] == "left") {
+ } else if (message["type"] == "leave") {
text += "left";
} else {
text += "timeout";
« no previous file with comments | « samples/chat/chat_stress_client.dart ('k') | samples/chat/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698