Skip to content
Permalink
Browse files

reorg: Fighting against Darts broken dependency-management-system

  • Loading branch information...
MikeMitterer committed Dec 19, 2018
1 parent 689afbb commit c3cf4adb285f6cd67dc9942cb3686cda7852de58
@@ -50,7 +50,7 @@ class MaterialDialogComponent extends MdlComponent {
//static const _MaterialDialogComponentConstant _constant = const _MaterialDialogComponentConstant();
static const _MaterialDialogComponentCssClasses _cssClasses = const _MaterialDialogComponentCssClasses();

MaterialDialogComponent.fromElement(final dom.HtmlElement element,final ioc.IOCContainer iocContainer)
MaterialDialogComponent.fromElement(final dom.HtmlElement element,final ioc.Container iocContainer)
: super(element,iocContainer) {

_init();
@@ -100,7 +100,7 @@ class MaterialDialogComponent extends MdlComponent {
void _registerMaterialDialogComponent() {
final MdlConfig config = new MdlWidgetConfig<MaterialDialogComponent>(
_MaterialDialogComponentConstant.WIDGET_SELECTOR,
(final dom.HtmlElement element,final ioc.IOCContainer iocContainer)
(final dom.HtmlElement element,final ioc.Container iocContainer)
=> new MaterialDialogComponent.fromElement(element,iocContainer)
);

@@ -67,7 +67,7 @@ void registerMdlDialogComponents() {
_registerMaterialDialogComponent();
}

class DialogModule extends ioc.IOCModule {
class DialogModule extends ioc.Module {

@override
configure() {
@@ -78,7 +78,7 @@ class DialogModule extends ioc.IOCModule {
}

@override
List<ioc.IOCModule> get dependsOn => [
List<ioc.Module> get dependsOn => [
CoreComponentsModule(),
TranslationModule()
];
@@ -1,6 +1,6 @@
name: m4d_dialog
description: Material Design 4 Dart - Dialogs
version: 0.1.4
version: 0.2.0
author: Mike Mitterer <office@mikemitterer.at>
homepage: https://github.com/MikeMitterer/m4d_dialog

@@ -188,7 +188,7 @@ main() async {
(dom.querySelector("head") as dom.HeadElement).lang = locale;

// Initialize M4D
ioc.IOCContainer.bindModules([
ioc.Container.bindModules([
DialogModule()
]).bind(coreService.Application).to(Application());

@@ -12,7 +12,7 @@ void main() async {
configLogging(show: Level.INFO);

// Initialize M4D
ioc.IOCContainer.bindModules([
ioc.Container.bindModules([
DialogModule()
]);

@@ -12,7 +12,7 @@ void main() async {
configLogging(show: Level.INFO);

// Initialize M4D
ioc.IOCContainer.bindModules([
ioc.Container.bindModules([
DialogModule()
]);

0 comments on commit c3cf4ad

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