Update paths in sky_home.dart

I also removed the leading /, so it is now possible
to use shelldb start sky/sky_home to test.

Also fixed touch_demo.dart and sector layout to
work and not crash.

R=ianh@google.com

Review URL: https://codereview.chromium.org/1177343002.
This commit is contained in:
Eric Seidel
2015-06-11 15:17:12 -07:00
parent 61873d7590
commit bdd3313417

View File

@@ -29,18 +29,18 @@ class SkyHome extends App {
UINode build() {
List<UINode> children = [
new SkyLink('Stocks2 App', '/examples/stocks2/lib/stock_app.dart'),
new SkyLink('Interactive Flex', '/examples/raw/interactive_flex.dart'),
new SkyLink('Ink Well', '/examples/raw/ink_well.dart'),
new SkyLink('Box2D Game', '/examples/game/main.dart'),
new SkyLink('Sector Layout', '/examples/raw/sector_layout.dart'),
new SkyLink('Stocks2 App', 'examples/stocks2/lib/stock_app.dart'),
new SkyLink('Box2D Game', 'examples/game/main.dart'),
new SkyLink('Interactive Flex', 'examples/rendering/interactive_flex.dart'),
new SkyLink('Sector Layout', 'examples/rendering/sector_layout.dart'),
new SkyLink('Touch Demo', 'examples/rendering/touch_demo.dart'),
// TODO(eseidel): We could use to separate these groups?
new SkyLink('Stocks App (Old)', '/examples/stocks/main.sky'),
new SkyLink('Touch Demo (Old)', '/examples/raw/touch-demo.sky'),
new SkyLink('Spinning Square (Old)', '/examples/raw/spinning-square.sky'),
new SkyLink('Stocks App (Old)', 'examples/stocks/main.sky'),
new SkyLink('Touch Demo (Old)', 'examples/raw/touch-demo.sky'),
new SkyLink('Spinning Square (Old)', 'examples/raw/spinning-square.sky'),
new SkyLink('Licences (Old)', '/LICENSES.sky'),
new SkyLink('Licences (Old)', 'LICENSES.sky'),
];
return new Scaffold(