Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: samples/todomvc/dart/todomvc_service.dart

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/myapi/myapi_impl.dart ('k') | src/shared/names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/todomvc/dart/todomvc_service.dart
diff --git a/samples/todomvc/dart/todomvc_service.dart b/samples/todomvc/dart/todomvc_service.dart
index a4f9cc8171a2d3a2d1d3ee25c15d55c9103225ae..4820a1ca766beb02d01164e56e63790a21114360 100644
--- a/samples/todomvc/dart/todomvc_service.dart
+++ b/samples/todomvc/dart/todomvc_service.dart
@@ -12,7 +12,8 @@ import "package:service/struct.dart";
final Channel _channel = new Channel();
final Port _port = new Port(_channel);
-final Foreign _postResult = Foreign.lookup("PostResultToService");
+final ForeignFunction _postResult =
+ ForeignLibrary.main.lookup("PostResultToService");
bool _terminated = false;
TodoMVCService _impl;
« no previous file with comments | « samples/myapi/myapi_impl.dart ('k') | src/shared/names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698