| OLD | NEW |
| 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('Buzzer'); | 5 #library('Buzzer'); |
| 6 #import('../../../../client/base/base.dart'); | 6 #import('../../../../client/base/base.dart'); |
| 7 #import('../../../../client/html/html.dart'); | 7 #import('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 final String RC_BELAY_GEN = 'belay/generate'; | 11 final String RC_BELAY_GEN = 'belay/generate'; |
| 12 final String RC_POST = 'urn:x-belay://resouce-class/social-feed/post'; | 12 final String RC_POST = 'urn:x-belay://resouce-class/social-feed/post'; |
| 13 | 13 |
| 14 class Buzzer { | 14 class Buzzer { |
| 15 | 15 |
| 16 final BelayClient belay; | 16 final BelayClient belay; |
| 17 Element topDiv; | 17 Element topDiv; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 }); | 92 }); |
| 93 | 93 |
| 94 revive(); | 94 revive(); |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 | 97 |
| 98 void main() { | 98 void main() { |
| 99 BelayClient.main((belay){ new Buzzer(belay); }); | 99 BelayClient.main((belay){ new Buzzer(belay); }); |
| 100 } | 100 } |
| 101 | 101 |
| OLD | NEW |