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

Unified Diff: sky/examples/fn/lib/fn.dart

Issue 971183002: Initial commit of Effen reactive framework experiment for Sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/examples/fn/lib/fakesky.dart ('k') | sky/examples/fn/lib/node.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/lib/fn.dart
diff --git a/sky/examples/fn/lib/fn.dart b/sky/examples/fn/lib/fn.dart
new file mode 100644
index 0000000000000000000000000000000000000000..30ec0408a60f215e07ec29752fca74dacb3f1f92
--- /dev/null
+++ b/sky/examples/fn/lib/fn.dart
@@ -0,0 +1,27 @@
+library fn;
+
+import 'dart:async';
+import 'dart:collection';
+import 'dart:sky' as sky;
+import 'reflect.dart' as reflect;
+
+part 'component.dart';
+part 'node.dart';
+part 'style.dart';
+
+bool _checkedMode;
+
+bool debugWarnings() {
+ void testFn(double i) {}
+
+ if (_checkedMode == null) {
+ _checkedMode = false;
+ try {
+ testFn('not a double');
+ } catch (ex) {
+ _checkedMode = true;
+ }
+ }
+
+ return _checkedMode;
+}
« no previous file with comments | « sky/examples/fn/lib/fakesky.dart ('k') | sky/examples/fn/lib/node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698