| 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 /// Transfomer used for pub-serve and pub-deploy. | 5 /// Transfomer used for pub-serve and pub-deploy. |
| 6 library polymer.transformer; | 6 library polymer.transformer; |
| 7 | 7 |
| 8 import 'package:barback/barback.dart'; | 8 import 'package:barback/barback.dart'; |
| 9 import 'package:web_components/transformer.dart' as web_components; | 9 import 'package:web_components/transformer.dart' as web_components; |
| 10 import 'package:observe/transformer.dart'; | 10 import 'package:observe/transformer.dart'; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 } | 196 } |
| 197 /// Must happen last, rewrites | 197 /// Must happen last, rewrites |
| 198 /// <script type="application/dart" _was_test></script> tags back to | 198 /// <script type="application/dart" _was_test></script> tags back to |
| 199 /// <link rel="x-dart-test"> tags. | 199 /// <link rel="x-dart-test"> tags. |
| 200 phases.add( | 200 phases.add( |
| 201 [new web_components.RewriteScriptToXDartTest(options.entryPoints)]); | 201 [new web_components.RewriteScriptToXDartTest(options.entryPoints)]); |
| 202 return phases; | 202 return phases; |
| 203 } | 203 } |
| 204 | 204 |
| 205 final RegExp _PACKAGE_PATH_REGEX = new RegExp(r'packages\/([^\/]+)\/(.*)'); | 205 final RegExp _PACKAGE_PATH_REGEX = new RegExp(r'packages\/([^\/]+)\/(.*)'); |
| OLD | NEW |