Fix data loading in the stocks app

We can't have two copies of |embedder.dart| or |shell.dart| because they take
ownership of some underlying Mojo handles. Instead of duplicating the code,
this CL makes the old locations just export all the symbols from the new
location. I've also done the same with fetch.dart to avoid code duplication.

Finally, I've removed image_cache.dart in the old location because the only
clients already live in the new world and ought to use the new location.

TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1179923004.
This commit is contained in:
Adam Barth 2015-06-18 09:14:51 -07:00
parent d2d11a04a1
commit d79ef3a6c6
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
import 'dart:math' as math;
import 'dart:sky';
import 'package:sky/framework/net/image_cache.dart' as image_cache;
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
double timeBase = null;

View File

@ -5,7 +5,7 @@
import 'dart:sky';
import 'dart:math' as math;
import 'package:sky/framework/net/image_cache.dart' as image_cache;
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
import 'package:sky/painting/text_style.dart';
import 'package:sky/rendering/block.dart';
import 'package:sky/rendering/box.dart';