Index: sky/examples/editor/editor_app.dart |
diff --git a/examples/recipes/recipe_handler/recipe.mojom b/sky/examples/editor/editor_app.dart |
similarity index 55% |
copy from examples/recipes/recipe_handler/recipe.mojom |
copy to sky/examples/editor/editor_app.dart |
index 1a452572c7a79bc19024259f5a86bcab580ed14e..58239c96c379a8e25b64274cecce43f0b08f2d86 100644 |
--- a/examples/recipes/recipe_handler/recipe.mojom |
+++ b/sky/examples/editor/editor_app.dart |
@@ -2,12 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module recipes; |
+import '../../framework/fn.dart'; |
+import 'input.dart'; |
-struct Ingredient { |
- string url; |
-}; |
- |
-interface Recipe { |
- GetIngredients() => (array<Ingredient> ingredients); |
-}; |
+class EditorApp extends App { |
+ Node build() { |
+ return new Input(); |
+ } |
+} |