Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 86953d0

Browse files
committed
fix: correct analyzer warnings which prevented succesful build
1 parent 0919482 commit 86953d0

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

lib/core_dom/view.dart

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,12 @@ class ViewPort {
6262

6363
// TODO remove once everybody is using the new names
6464

65-
class Block extends View {}
66-
class BlockHole extends ViewPort {}
65+
class Block extends View {
66+
Block(List<dom.Node> nodes)
67+
: super(nodes);
68+
}
69+
70+
class BlockHole extends ViewPort {
71+
BlockHole(dom.Node placeholder, NgAnimate animate)
72+
: super(placeholder, animate);
73+
}

lib/core_dom/view_factory.dart

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,12 @@ class ElementProbe {
291291

292292
// TODO remove once everybody is using the new names
293293

294-
class BlockFactory extends ViewFactory {}
295-
class BoundBlockFactory extends BoundViewFactory {}
294+
class BlockFactory extends WalkingViewFactory {
295+
BlockFactory(templateElements, elementBinders, perf, expando)
296+
:super(templateElements, elementBinders, perf, expando);
297+
}
298+
299+
class BoundBlockFactory extends BoundViewFactory {
300+
BoundBlockFactory(ViewFactory viewFactory, Injector injector)
301+
: super(viewFactory, injector);
302+
}

0 commit comments

Comments
 (0)