ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
jQuery.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS;
22 
23 class jQuery implements Component\Component
24 {
25  public function init(
26  array | \ArrayAccess &$define,
27  array | \ArrayAccess &$implement,
28  array | \ArrayAccess &$use,
29  array | \ArrayAccess &$contribute,
30  array | \ArrayAccess &$seek,
31  array | \ArrayAccess &$provide,
32  array | \ArrayAccess &$pull,
33  array | \ArrayAccess &$internal,
34  ): void {
35  /* This library was missing after discussing dependencies for ILIAS 10
36  $contribute[Component\Resource\PublicAsset::class] = fn() =>
37  new Component\Resource\NodeModule("jquery-migrate/dist/jquery-migrate.min.js");
38  */
39  /* $contribute[Component\Resource\PublicAsset::class] = fn() =>
40  new Component\Resource\NodeModule("jquery/dist/jquery.js"); */
41  /* This library was missing after discussing dependencies for ILIAS 10
42  $contribute[Component\Resource\PublicAsset::class] = fn() =>
43  new Component\Resource\NodeModule("jquery-ui-dist/jquery-ui.js");
44  */
45  /* This library was missing after discussing dependencies for ILIAS 10
46  $contribute[Component\Resource\PublicAsset::class] = fn() =>
47  new Component\Resource\NodeModule("maphilight/jquery.maphilight.min.js");
48  */
49  }
50 }
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
Definition: jQuery.php:25
Interface Observer Contains several chained tasks and infos about them.