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 pub.dart_forwarding_transformer; | 5 library pub.dart_forwarding_transformer; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:barback/barback.dart'; | 9 import 'package:barback/barback.dart'; |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 DartForwardingTransformer(this._mode); | 23 DartForwardingTransformer(this._mode); |
24 | 24 |
25 String get allowedExtensions => ".dart"; | 25 String get allowedExtensions => ".dart"; |
26 | 26 |
27 Future apply(Transform transform) { | 27 Future apply(Transform transform) { |
28 return newFuture(() { | 28 return newFuture(() { |
29 transform.addOutput(transform.primaryInput); | 29 transform.addOutput(transform.primaryInput); |
30 }); | 30 }); |
31 } | 31 } |
32 } | 32 } |
OLD | NEW |