| Index: bin/dwc_browser.dart
|
| diff --git a/bin/dwc_browser.dart b/bin/dwc_browser.dart
|
| index eed3c5200413a9ed6e741a90a9ba54c1f85bc6bb..157a0591fa0f8dbf15c8c6a054712c4caba0c720 100644
|
| --- a/bin/dwc_browser.dart
|
| +++ b/bin/dwc_browser.dart
|
| @@ -29,22 +29,21 @@ void main() {
|
| }
|
|
|
| /**
|
| - * Parse all templates in [sourceFullFn].
|
| + * Process the input file at [sourceUri] with the 'dwc' compiler.
|
| * [sourcePagePort] is a Chrome extension port used to communicate back to the
|
| * source page that will consume these proxied urls.
|
| * See extension/background.js.
|
| */
|
| -void parse(js.Proxy sourcePagePort, String sourceFullFn) {
|
| +void parse(js.Proxy sourcePagePort, String sourceUri) {
|
| // TODO(jacobr): we need to send error messages back to sourcePagePort.
|
| js.retain(sourcePagePort);
|
| - print("Processing: $sourceFullFn");
|
| -
|
| - Uri uri = new Uri.fromString(sourceFullFn);
|
| + print("Processing: $sourceUri");
|
| + Uri uri = new Uri.fromString(sourceUri);
|
| fileSystem = new BrowserFileSystem(uri.scheme, sourcePagePort);
|
| // TODO(jacobr): provide a way to pass in options.
|
| var options = CompilerOptions.parse(['--no-colors', uri.path]);
|
| messages = new Messages(options: options);
|
| - asyncTime('Compiled $sourceFullFn', () {
|
| + asyncTime('Compiled $sourceUri', () {
|
| var compiler = new Compiler(fileSystem, options);
|
| return compiler.run().chain((_) {
|
| for (var file in compiler.output) {
|
|
|