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 barback.barback; | 5 library barback.barback; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'asset/asset.dart'; | 9 import 'asset/asset.dart'; |
10 import 'asset/asset_id.dart'; | 10 import 'asset/asset_id.dart'; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 /// Sets the transformer phases for [package]'s assets to [transformers]. | 108 /// Sets the transformer phases for [package]'s assets to [transformers]. |
109 /// | 109 /// |
110 /// To the extent that [transformers] is similar to the previous transformer | 110 /// To the extent that [transformers] is similar to the previous transformer |
111 /// phases for [package], the existing asset graph will be preserved. | 111 /// phases for [package], the existing asset graph will be preserved. |
112 /// | 112 /// |
113 /// Elements of the inner iterable of [transformers] must be [Transformer]s, | 113 /// Elements of the inner iterable of [transformers] must be [Transformer]s, |
114 /// [TransformerGroup]s, or [AggregateTransformer]s. | 114 /// [TransformerGroup]s, or [AggregateTransformer]s. |
115 void updateTransformers(String package, Iterable<Iterable> transformers) => | 115 void updateTransformers(String package, Iterable<Iterable> transformers) => |
116 _graph.updateTransformers(package, transformers); | 116 _graph.updateTransformers(package, transformers); |
117 } | 117 } |
OLD | NEW |