| 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 /** | 5 /** |
| 6 * Support for asynchronous programming, | 6 * Support for asynchronous programming, |
| 7 * with classes such as Future and Stream. | 7 * with classes such as Future and Stream. |
| 8 * | 8 * |
| 9 * Understanding [Future]s and [Stream]s is a prerequisite for | 9 * Understanding [Future]s and [Stream]s is a prerequisite for |
| 10 * writing just about any Dart program. | 10 * writing just about any Dart program. |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 part 'future.dart'; | 100 part 'future.dart'; |
| 101 part 'future_impl.dart'; | 101 part 'future_impl.dart'; |
| 102 part 'schedule_microtask.dart'; | 102 part 'schedule_microtask.dart'; |
| 103 part 'stream.dart'; | 103 part 'stream.dart'; |
| 104 part 'stream_controller.dart'; | 104 part 'stream_controller.dart'; |
| 105 part 'stream_impl.dart'; | 105 part 'stream_impl.dart'; |
| 106 part 'stream_pipe.dart'; | 106 part 'stream_pipe.dart'; |
| 107 part 'stream_transformers.dart'; | 107 part 'stream_transformers.dart'; |
| 108 part 'timer.dart'; | 108 part 'timer.dart'; |
| 109 part 'zone.dart'; | 109 part 'zone.dart'; |
| 110 import 'dart:_js_helper' show |
| 111 patch, |
| 112 Primitives, |
| 113 convertDartClosureToJS, |
| 114 requiresPreamble; |
| 115 import 'dart:_isolate_helper' show |
| 116 IsolateNatives, |
| 117 TimerImpl, |
| 118 leaveJsAsync, |
| 119 enterJsAsync, |
| 120 isWorker; |
| 121 import 'dart:_foreign_helper' show JS; |
| 110 | 122 |
| 111 bool get _hasDocument => JS('String', 'typeof document') == 'object'; | 123 bool get _hasDocument => JS('String', 'typeof document') == 'object'; |
| OLD | NEW |