| Index: packages/charted/lib/core/utils/object_factory.dart
|
| diff --git a/packages/charted/lib/core/utils/object_factory.dart b/packages/charted/lib/core/utils/object_factory.dart
|
| index 7ddab0763d453758bcf42b5ad0f193780445fb24..465ac186b0b2ed4792bc1f20ed17c3736c391eba 100644
|
| --- a/packages/charted/lib/core/utils/object_factory.dart
|
| +++ b/packages/charted/lib/core/utils/object_factory.dart
|
| @@ -30,8 +30,7 @@ class ObjectFactory<T> {
|
| if (!_components.containsKey(name)) {
|
| throw new ArgumentError('Element $name not found in ComponentFactory');
|
| }
|
| - var creator = _components[name],
|
| - instance = creator();
|
| + var creator = _components[name], instance = creator();
|
| if (instance == null) {
|
| throw new ArgumentError('Component $name initialization failed.');
|
| }
|
|
|