OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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('frog_leg'); | 5 #library('frog_leg'); |
6 | 6 |
7 #import('../../lib/uri/uri.dart'); | 7 #import('../../lib/uri/uri.dart'); |
8 #import('../lang.dart', prefix: 'frog'); | 8 #import('../lang.dart', prefix: 'frog'); |
9 #import('api.dart', prefix: 'api'); | 9 #import('api.dart', prefix: 'api'); |
10 #import('io/io.dart', prefix: 'io'); | 10 #import('io/io.dart', prefix: 'io'); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 world.legCode = code; | 86 world.legCode = code; |
87 world.jsBytesWritten = code.length; | 87 world.jsBytesWritten = code.length; |
88 return true; | 88 return true; |
89 } | 89 } |
90 | 90 |
91 class AbortLeg { | 91 class AbortLeg { |
92 final message; | 92 final message; |
93 AbortLeg(this.message); | 93 AbortLeg(this.message); |
94 toString() => 'Aborted due to --throw-on-error: $message'; | 94 toString() => 'Aborted due to --throw-on-error: $message'; |
95 } | 95 } |
OLD | NEW |