This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/web/fc-app.dart b/web/fc-app.dart | |
index 9ab1b10..f8982d3 100644 | |
--- a/web/fc-app.dart | |
+++ b/web/fc-app.dart | |
@@ -1,11 +1,30 @@ | |
import "package:polymer/polymer.dart"; | |
import "dart:html"; | |
-import "dart:js"; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variant of Tim Caswell's "fibers" proposal based on Harmony generators. | |
// Make generator into a shallow coroutine. | |
function GF(g) { | |
var f = g(resume); | |
function resume (value) { f.send(value); } | |
f.next(); | |
} | |
function readfile(filename, next) { |