| OLD | NEW |
| 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 library _js_helper; | 5 library _js_helper; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_isolate_helper' show | 8 import 'dart:_isolate_helper' show |
| 9 IsolateNatives, | 9 IsolateNatives, |
| 10 leaveJsAsync, | 10 leaveJsAsync, |
| (...skipping 3343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3354 throw new MainError("No top-level function named 'main'."); | 3354 throw new MainError("No top-level function named 'main'."); |
| 3355 } | 3355 } |
| 3356 | 3356 |
| 3357 void badMain() { | 3357 void badMain() { |
| 3358 throw new MainError("'main' is not a function."); | 3358 throw new MainError("'main' is not a function."); |
| 3359 } | 3359 } |
| 3360 | 3360 |
| 3361 void mainHasTooManyParameters() { | 3361 void mainHasTooManyParameters() { |
| 3362 throw new MainError("'main' expects too many parameters."); | 3362 throw new MainError("'main' expects too many parameters."); |
| 3363 } | 3363 } |
| OLD | NEW |