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

Side by Side Diff: dart/samples/dartiverse_search/web/client.dart

Issue 57813002: Version 0.8.10.3 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:convert'; 6 import 'dart:convert';
7 7
8 8
9 class Client { 9 class Client {
10 static const Duration CONNECT_DELAY = const Duration(milliseconds: 500); 10 static const Duration CONNECT_DELAY = const Duration(milliseconds: 500);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 'input': input 91 'input': input
92 }; 92 };
93 webSocket.send(JSON.encode(request)); 93 webSocket.send(JSON.encode(request));
94 } 94 }
95 } 95 }
96 96
97 97
98 void main() { 98 void main() {
99 var client = new Client(); 99 var client = new Client();
100 } 100 }
OLDNEW
« no previous file with comments | « dart/samples/dartiverse_search/stack_overflow_search_engine.dart ('k') | dart/samples/dartiverse_search/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698