@@ -5,9 +5,7 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | use WebinoAppLib\Event\AppEvent; |
| 8 | -use WebinoAppLib\Event\RouteEvent; |
|
| 9 | 8 | use WebinoAppLib\Response\Content\SourcePreview; |
| 10 | -use WebinoAppLib\Router\DefaultRoute; |
|
| 11 | 9 | |
| 12 | 10 | require __DIR__ . '/../../vendor/autoload.php'; |
| 13 | 11 | |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use WebinoAppLib\Event\RouteEvent; |
| 8 | 8 | use WebinoAppLib\Response\Content\SourcePreview; |
| 9 | 9 | use WebinoAppLib\Router\DefaultRoute; |
| 10 | -use Zend\ModuleManager\Listener\AbstractListener; |
|
| 11 | 10 | |
| 12 | 11 | require __DIR__ . '/../../vendor/autoload.php'; |
| 13 | 12 | |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | use WebinoAppLib\Event\RouteEvent; |
| 8 | -use WebinoAppLib\Factory\AbstractFactory; |
|
| 9 | 8 | use WebinoAppLib\Feature\Service; |
| 10 | 9 | use WebinoAppLib\Response\Content\SourcePreview; |
| 11 | 10 | use WebinoAppLib\Router\DefaultRoute; |
@@ -2,19 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace WebinoViewLib\Component; |
| 4 | 4 | |
| 5 | -use WebinoAppLib\Event\AppEvent; |
|
| 6 | 5 | use WebinoAppLib\Event\DispatchEvent; |
| 7 | -use WebinoAppLib\Feature\HttpListener; |
|
| 8 | 6 | use WebinoAppLib\Service\Initializer\RoutingAwareTrait; |
| 9 | -use WebinoConfigLib\Feature\FeatureInterface; |
|
| 10 | -use WebinoDomLib\Dom\Config\SpecConfigAggregateInterface; |
|
| 11 | 7 | use WebinoDomLib\Dom\NodeInterface; |
| 12 | 8 | use WebinoDomLib\Event\RenderEvent; |
| 13 | -use WebinoEventLib\ListenerAggregateTrait; |
|
| 14 | -use WebinoViewLib\Feature\NodeView; |
|
| 15 | -use WebinoViewLib\Feature\ViewListener; |
|
| 16 | -use Zend\EventManager\ListenerAggregateInterface; |
|
| 17 | -use Zend\Stdlib\CallbackHandler; |
|
| 18 | 9 | |
| 19 | 10 | /** |
| 20 | 11 | * Class ComponentStateTrait |
@@ -32,19 +32,19 @@ |
||
| 32 | 32 | |
| 33 | 33 | $data = [ |
| 34 | 34 | [ |
| 35 | - 'Walter White', |
|
| 36 | - 'Father', |
|
| 37 | - 'Teacher', |
|
| 35 | + 'Walter White', |
|
| 36 | + 'Father', |
|
| 37 | + 'Teacher', |
|
| 38 | 38 | ], |
| 39 | 39 | [ |
| 40 | - 'Skyler White', |
|
| 41 | - 'Mother', |
|
| 42 | - 'Accountant', |
|
| 40 | + 'Skyler White', |
|
| 41 | + 'Mother', |
|
| 42 | + 'Accountant', |
|
| 43 | 43 | ], |
| 44 | 44 | [ |
| 45 | - 'Walter White Jr.', |
|
| 46 | - 'Son', |
|
| 47 | - 'Student', |
|
| 45 | + 'Walter White Jr.', |
|
| 46 | + 'Son', |
|
| 47 | + 'Student', |
|
| 48 | 48 | ], |
| 49 | 49 | ]; |
| 50 | 50 | |
@@ -333,10 +333,10 @@ |
||
| 333 | 333 | // todo configurable locators |
| 334 | 334 | $table = $doc->locate('table'); |
| 335 | 335 | $table->locate('thead th') |
| 336 | - ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) { |
|
| 337 | - // TODO emit event |
|
| 338 | - $node->setValue($data); |
|
| 339 | - }); |
|
| 336 | + ->loop(array_keys(current($data)), function (\WebinoDomLib\Dom\NodeList $node, $data) { |
|
| 337 | + // TODO emit event |
|
| 338 | + $node->setValue($data); |
|
| 339 | + }); |
|
| 340 | 340 | |
| 341 | 341 | $table->locate('tbody tr') |
| 342 | 342 | ->loop($data, function (\WebinoDomLib\Dom\NodeList $node, $data) { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use WebinoAppLib\Event\RouteEvent; |
| 8 | 8 | use WebinoAppLib\Response\Content\SourcePreview; |
| 9 | 9 | use WebinoAppLib\Router\DefaultRoute; |
| 10 | -use Zend\ModuleManager\Listener\AbstractListener; |
|
| 11 | 10 | |
| 12 | 11 | require __DIR__ . '/../../vendor/autoload.php'; |
| 13 | 12 | |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | use WebinoAppLib\Response\Content\SourcePreview; |
| 11 | 11 | use WebinoAppLib\Router\DefaultRoute; |
| 12 | 12 | use WebinoExamplesLib\Html\FieldSetScrollBox; |
| 13 | -use WebinoHtmlLib\Html; |
|
| 14 | -use WebinoExamplesLib\Html\ScrollBox; |
|
| 15 | 13 | use WebinoConfigLib\Feature\Log; |
| 16 | 14 | use WebinoConfigLib\Feature\Logger; |
| 17 | 15 | use WebinoLogLib\LoggerAwareInterface; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | * Webino Example |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -use WebinoAppLib\Application\CoreConfig; |
|
| 8 | 7 | use WebinoAppLib\Event\RouteEvent; |
| 9 | 8 | use WebinoAppLib\Feature\Service; |
| 10 | 9 | use WebinoAppLib\Response\Content\SourcePreview; |