Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
simple.php
1
<?php
2
3
namespace
Bitrix\Main\Test\Webpacker
;
4
5
use
Bitrix\Main\Web\WebPacker
;
6
12
class
Simple
13
{
19
public
static
function
printScript
()
20
{
21
$content = (
new
WebPacker\Builder
())
22
->addExtension(
'ui.webpacker.example.simple'
)
23
->stringify();
24
25
echo
'<script>'
. ($content) .
'</script>'
;
26
}
27
}
Bitrix\Main\Test\Webpacker\Simple
Definition
simple.php:13
Bitrix\Main\Test\Webpacker\Simple\printScript
static printScript()
Definition
simple.php:19
Bitrix\Main\Web\WebPacker\Builder
Definition
builder.php:16
Bitrix\Main\Test\Webpacker
Definition
simple.php:3
Bitrix\Main\Web\WebPacker
Definition
builder.php:3
modules
main
lib
test
webpacker
simple.php
Создано системой
1.10.0