Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: test/generated_sdk/lib/async/async.dart

Issue 1104753002: patch_sdk: fix part/import order (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/generated_sdk/lib/collection/collection.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 * 86 *
87 * * [Asynchronous Unit Testing with Dart] 87 * * [Asynchronous Unit Testing with Dart]
88 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How 88 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How
89 * to test asynchronous code. 89 * to test asynchronous code.
90 */ 90 */
91 library dart.async; 91 library dart.async;
92 92
93 import "dart:collection"; 93 import "dart:collection";
94 import "dart:_internal" show deprecated, printToZone, printToConsole, 94 import "dart:_internal" show deprecated, printToZone, printToConsole,
95 IterableElementError; 95 IterableElementError;
96 import 'dart:_js_helper' show
97 patch,
98 Primitives,
99 convertDartClosureToJS,
100 requiresPreamble;
101 import 'dart:_isolate_helper' show
102 IsolateNatives,
103 TimerImpl,
104 leaveJsAsync,
105 enterJsAsync,
106 isWorker;
107 import 'dart:_foreign_helper' show JS;
96 108
97 part 'async_error.dart'; 109 part 'async_error.dart';
98 part 'broadcast_stream_controller.dart'; 110 part 'broadcast_stream_controller.dart';
99 part 'deferred_load.dart'; 111 part 'deferred_load.dart';
100 part 'future.dart'; 112 part 'future.dart';
101 part 'future_impl.dart'; 113 part 'future_impl.dart';
102 part 'schedule_microtask.dart'; 114 part 'schedule_microtask.dart';
103 part 'stream.dart'; 115 part 'stream.dart';
104 part 'stream_controller.dart'; 116 part 'stream_controller.dart';
105 part 'stream_impl.dart'; 117 part 'stream_impl.dart';
106 part 'stream_pipe.dart'; 118 part 'stream_pipe.dart';
107 part 'stream_transformers.dart'; 119 part 'stream_transformers.dart';
108 part 'timer.dart'; 120 part 'timer.dart';
109 part 'zone.dart'; 121 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;
122 122
123 bool get _hasDocument => JS('String', 'typeof document') == 'object'; 123 bool get _hasDocument => JS('String', 'typeof document') == 'object';
OLDNEW
« no previous file with comments | « no previous file | test/generated_sdk/lib/collection/collection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698