| OLD | NEW |
| 1 part of swarmlib; | |
| 2 | |
| 3 // 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 |
| 4 // 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 |
| 5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 6 | 4 |
| 7 /** | 5 /** |
| 8 * The base class that should be extended by all HTML applications. | 6 * The base class that should be extended by all HTML applications. |
| 9 * | 7 * |
| 10 * It should both be easy to use for users coming over from JavaScript, but | 8 * It should both be easy to use for users coming over from JavaScript, but |
| 11 * also offer a clear notion of OO encapsulation. | 9 * also offer a clear notion of OO encapsulation. |
| 12 * | 10 * |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // TODO(jmesserly): Several problems with this: | 100 // TODO(jmesserly): Several problems with this: |
| 103 // * How do we authenticate against the server? | 101 // * How do we authenticate against the server? |
| 104 // * How do we talk to a server other than thump? | 102 // * How do we talk to a server other than thump? |
| 105 assert(url.startsWith('/')); | 103 assert(url.startsWith('/')); |
| 106 return 'http://thump.googleplex.com$url'; | 104 return 'http://thump.googleplex.com$url'; |
| 107 } else { | 105 } else { |
| 108 return url; | 106 return url; |
| 109 } | 107 } |
| 110 } | 108 } |
| 111 } | 109 } |
| OLD | NEW |