Index: sky/examples/fn/lib/fakesky.dart |
diff --git a/sky/examples/fn/lib/fakesky.dart b/sky/examples/fn/lib/fakesky.dart |
index 408616016aac3701702629f3bd49a269b1d59211..b927f1452f9642a209bb31b0bc3ca2b8d91414db 100644 |
--- a/sky/examples/fn/lib/fakesky.dart |
+++ b/sky/examples/fn/lib/fakesky.dart |
@@ -117,7 +117,7 @@ class Document extends ParentNode { |
} |
class HTMLImageElement extends Element { |
- Image(); |
+ HTMLImageElement(); |
String src; |
Object style = {}; |
} |
@@ -139,6 +139,7 @@ class Window { |
new Timer(const Duration(milliseconds: 16), () { |
_callRAF(fn); |
}); |
+ return 1; |
} |
void cancelAnimationFrame(int id) { |
@@ -150,7 +151,7 @@ Document document = new Document(); |
Window window = new Window(); |
class ClientRect { |
- double top |
+ double top; |
double right; |
double bottomr; |
double left; |