| Index: pkg/polymer/lib/src/file_system/console.dart
|
| diff --git a/pkg/polymer/lib/src/file_system/console.dart b/pkg/polymer/lib/src/file_system/console.dart
|
| index 6776745b2fe96334b4f05512f7ca32f9e528a98d..e928cf9affe2dc1b19cde38bc4645558555181a4 100644
|
| --- a/pkg/polymer/lib/src/file_system/console.dart
|
| +++ b/pkg/polymer/lib/src/file_system/console.dart
|
| @@ -4,9 +4,8 @@
|
|
|
| library console;
|
|
|
| -import 'dart:async';
|
| +import 'dart:convert';
|
| import 'dart:io';
|
| -import 'dart:utf';
|
| import 'package:polymer/src/file_system.dart';
|
|
|
| /** File system implementation for console VM (i.e. no browser). */
|
| @@ -42,6 +41,6 @@ class ConsoleFileSystem implements FileSystem {
|
|
|
| // TODO(jmesserly): do we support any encoding other than UTF-8 for Dart?
|
| Future<String> readText(String path) {
|
| - return readTextOrBytes(path).then(decodeUtf8);
|
| + return readTextOrBytes(path).then(UTF8.decode);
|
| }
|
| }
|
|
|