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 library polymer.src.build.polymer_bootstrap; | 4 library polymer.src.build.polymer_bootstrap; |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 | 7 |
8 import 'package:barback/barback.dart'; | 8 import 'package:barback/barback.dart'; |
9 import 'package:code_transformers/messages/build_logger.dart'; | 9 import 'package:code_transformers/messages/build_logger.dart'; |
10 import 'package:code_transformers/assets.dart'; | 10 import 'package:code_transformers/assets.dart'; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 resolveFromId: entryScriptId).then((polymerBootstrap) { | 65 resolveFromId: entryScriptId).then((polymerBootstrap) { |
66 transform.addOutput(polymerBootstrap); | 66 transform.addOutput(polymerBootstrap); |
67 transform | 67 transform |
68 .addOutput(new Asset.fromString(primaryId, document.outerHtml)); | 68 .addOutput(new Asset.fromString(primaryId, document.outerHtml)); |
69 resolver.release(); | 69 resolver.release(); |
70 }); | 70 }); |
71 }); | 71 }); |
72 }); | 72 }); |
73 } | 73 } |
74 } | 74 } |
OLD | NEW |