Skip to content

Commit

Permalink
Move non-view JxXxx classes into Js namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Oct 1, 2022
1 parent 3e3aae7 commit 8765842
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Jquery.php → src/Js/Jquery.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

/**
* Implements mapper for jQuery library. Following mappings are just to keep phpstan/PhpStorm happy.
Expand Down
4 changes: 2 additions & 2 deletions src/JsChain.php → src/Js/JsChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

/**
* Implements a transparent mapper that will actually translate into JavaScript code. Used
Expand Down Expand Up @@ -42,7 +42,7 @@ class JsChain extends JsExpression
*
* will be stored in $chain as
*
* [ ['foo'], ['bar', [1]], 'baz', ['test', ['abc => 123]] ]
* [['foo'], ['bar', [1]], 'baz', ['test', ['abc => 123]]]
*
* will map into:
*
Expand Down
2 changes: 1 addition & 1 deletion src/JsConditionalForm.php → src/Js/JsConditionalForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\DiContainerTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/JsExpression.php → src/Js/JsExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\DiContainerTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/JsExpressionable.php → src/Js/JsExpressionable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

/**
* Implements a class that can be mapped into arbitrary JavaScript expression.
Expand Down
2 changes: 1 addition & 1 deletion src/JsFunction.php → src/Js/JsFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\WarnDynamicPropertyTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/JsModal.php → src/Js/JsModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

/**
* This class generates action, that will be able to loop-back to the callback method.
Expand Down
2 changes: 1 addition & 1 deletion src/JsNotify.php → src/Js/JsNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

class JsNotify implements JsExpressionable
{
Expand Down
2 changes: 1 addition & 1 deletion src/JsReload.php → src/Js/JsReload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\WarnDynamicPropertyTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/JsToast.php → src/Js/JsToast.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\DiContainerTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/JsVueService.php → src/Js/JsVueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Atk4\Ui;
namespace Atk4\Ui\Js;

use Atk4\Core\WarnDynamicPropertyTrait;

Expand Down

0 comments on commit 8765842

Please sign in to comment.