Skip to content
Permalink
Browse files

reorg: Changed 'componentHandler().run to ...uprgrade()

  • Loading branch information...
MikeMitterer committed Jan 17, 2019
1 parent b287e42 commit d3dde0c287e9d969ba9a51dc762c8a2a21063b50
Showing with 3 additions and 3 deletions.
  1. +2 −2 samples/m4d_attribute/web/main.dart
  2. +1 −1 samples/m4d_class/web/main.dart
@@ -50,7 +50,7 @@ main() async {

ioc.Container().bind(service.SimpleDataStore).to(AppStore());

final Application app = await componentHandler().run();
final Application app = await componentHandler().upgrade();

app.run();
}
@@ -67,4 +67,4 @@ class AppStore extends DefaultSimpleDataStore {

bool get enabled => contains("checkAttribute") ? bindings["checkAttribute"].toBool() : false;
void set enabled(final bool hasBorder) => prop<bool>("checkAttribute").value = hasBorder;
}
}
@@ -36,7 +36,7 @@ main() async {

ioc.Container().bind(service.SimpleDataStore).to(AppStore());

final Application app = await componentHandler().run();
final Application app = await componentHandler().upgrade();

app.run();
}

0 comments on commit d3dde0c

Please sign in to comment.
You can’t perform that action at this time.