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

Side by Side Diff: samples/belay/buzzer/static/Index.dart

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/belay/buzzer/static/Buzzer.dart ('k') | samples/belay/tests/bcap_tests.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #library('Index'); 5 #library('Index');
6 #import('dart:html');
6 #import('../../../../client/base/base.dart'); 7 #import('../../../../client/base/base.dart');
7 #import('../../../../client/html/html.dart');
8 #import('../../bcap/bcap.dart'); 8 #import('../../bcap/bcap.dart');
9 #import('../../bcap/bcap_client.dart'); 9 #import('../../bcap/bcap_client.dart');
10 10
11 11
12 class Index { 12 class Index {
13 final BelayClient belay; 13 final BelayClient belay;
14 14
15 final String GENERATE_CAP_URL = 15 final String GENERATE_CAP_URL =
16 "http://localhost:9014/belay/generateProfile"; 16 "http://localhost:9014/belay/generateProfile";
17 17
(...skipping 11 matching lines...) Expand all
29 genCap.post({ 'title': titleElt.value }, void _(launch) { 29 genCap.post({ 'title': titleElt.value }, void _(launch) {
30 belay.becomeInstance.put(launch, belay.sk, belay.fk); 30 belay.becomeInstance.put(launch, belay.sk, belay.fk);
31 }); 31 });
32 } 32 }
33 } 33 }
34 34
35 void main() { 35 void main() {
36 BelayClient.main(_(belay) { new Index(belay); }); 36 BelayClient.main(_(belay) { new Index(belay); });
37 } 37 }
38 38
OLDNEW
« no previous file with comments | « samples/belay/buzzer/static/Buzzer.dart ('k') | samples/belay/tests/bcap_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698